The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Muster::Hook::SqlReport - Muster SQL-report directive

VERSION

version 0.62

DESCRIPTION

Muster::Hook::SqlReport processes the SQL-report directive. Excpects SQLite databases in the config.

METHODS

Muster::Hook::SqlReport inherits all methods from Muster::Hook::Directives.

register

Initialize and register.

RETURN a selection result.

build_where_conditions

If "where" is not a hash. treat it like a query.

Otherwise do the default of the superclass.

do_report

Do a report, pre-processing the arguments a bit.

make_pagination

Make the buttons for the pagination. Pagination happens only when there's a limit not equal to zero.