ReportQuery#

class eclypse.report.query.ReportQuery[source]#

Bases: object

Composable query builder for report frames.

Methods

__init__(report, report_type)

Create a query builder bound to a report type.

range(start, stop)

Set the inclusive event range.

step(step)

Set the report step.

to_frame()

Materialise the current query into a backend frame.

where(**filters)

Add equality or membership filters.

__init__(report, report_type)[source]#

Create a query builder bound to a report type.

Parameters:
range(start, stop)[source]#

Set the inclusive event range.

Parameters:
  • start (int)

  • stop (int)

Return type:

ReportQuery

step(step)[source]#

Set the report step.

Parameters:

step (int)

Return type:

ReportQuery

where(**filters)[source]#

Add equality or membership filters.

Parameters:

filters (Any)

Return type:

ReportQuery

to_frame()[source]#

Materialise the current query into a backend frame.

Return type:

Any