Statistics Query
Basic query for statistics
Last updated
Was this helpful?
Basic query for statistics
Last updated
Was this helpful?
query: query includes following options items below for grouping. Note: Either of distinct option or aggregate option must be given.
NO
KEY
TYPE
REQUIRED
DESC
1
distinct
list
grouping in distinct condition with given items
2
aggregate
list
grouping and set fields for grouping
3
filter
list
filter out within operator
4
filter_or
list
filter out within operator
5
sort
dict
sorting a list with given keys
6
page
dict
set limit and its start page in grouping query to display
{
"query": {
"distinct": ...,
"aggregate": {...},
"filter": [...],
"filter_or": [...],
"sort": {...},
"limit":{...}
}
}
(conditional)
for more information at
(conditional)
(conditional)
add items to list Refer to mongo doc :
merge all objects Refer to mongo doc :
NOTE:
filter and filter_or input simultaneously, it performs AND
condition between them.
NOTE:
filter and filter_or input simultaneously, it performs AND
condition between them.