generated from aicore/template-nodejs
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or request
Description
There should be a way to get count of documents in store without doing a full database read. SQL count(primarykey) should do this in O(1). This should also support query format.
For Eg. Right now, there is no way to do getCount(publishedExtensions) without doing a full scan of the table.
let count = await countDocuments("tableName");
let count = await countDocuments("tableName", query, indexedFields);Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request