Closed
Description
Use cases:
a) customer wants to see counts of templates in message template catalogs in application UI. The templates and catalogs are stored in vshard, and operated via CRUD through a connector.
b) pagination -- we need to know the total amount of results for displaying it in the UI.
The count() method must accept conditions.
Proposed API variant:
local count = crud.count({{'=', 'status', 'NEW'}})