API
Select All

Select All

The 'Select All' query capability is available in the API and is supported in both MongoDB and RDBMS. This feature is implemented using the Java Query DSL library, and 'Select All' inherently supports limit-based pagination by default.

Query ParamsDescription
filtersAbility to filter records with conditional operators
sortSort the records based on field in ascending or descending order
limitLimit the number of records per page
offsetPagination start parameter

Note: All filters are combined with the AND operator.

Filter Operations

Select all is supported with a bunch of operators

Filter OperatorDescription
eqEqual To
gtGreater Than
gteGreater Than Equal To
ltLess Than
lteLess Than Equal To

Sort Operations

Sort OperatorDescription
-sortByFieldDESCENDING
+sortByFieldASCENDING
sortByFieldASCENDING

Examples

Filters

http://<you-api-base-path>/students?filters=age:gt:10;type:eq:day_scholar

Sort By - Filter and sorts by age

http://<you-api-base-path>/students?filters=age:gt:10;type:eq:day_scholar&sort=age

Pagination - Lists students from 10 - 20

http://<you-api-base-path>/students?filters=age:gt:10;type:eq:day_scholar&sort=age&limit=10&offset=10