Skip to content

[Feature] the number of documents in a collection Retrieve logic implementation.

Choose a tag to compare

@SHcommit SHcommit released this 09 May 05:54
· 21 commits to master since this release

[Feature]

  • Retrieve the number of documents in a collection using aggressive query logic implement in request(endpoint:)
    • It execute to retrieve the number of all documents in a specified collectionRef from FirestoreAccessible.
    • This method using AggrateQuery's count() that match between 0 and 1000 index entries billed for one documen read: ]

image

  • Set Endpoint's responseDTO's type Int and FirestoreAccessible must return CollectionReference without DocumentReference and then use this method: ]

[References]