CountQuery
class CountQuery @InternalWowApi constructor(val filter: FilterExpression = MatchAllFilter, val limit: Int? = null) : FilterCapable<CountQuery>
A bounded count of the matches of filter.
Properties
Link copied to clipboard
The filter expression the counted items match; MatchAllFilter, every record, by default, which an entry whose budget asks for a filter refuses (QueryErrorCodes.COUNT_REQUIRES_FILTER).
Link copied to clipboard
The most matches to count, at least 1: the count is exact below it; otherwise it is limit with CountResult.exact false. null, the default, uses the budget's default limit.