Ruby persistence framework with entities and repositories
ruby
hanami
database
repository
persistence
entity-framework
entity
repository-pattern
persistence-layer
persistence-framework
-
Updated
Aug 27, 2021 - Ruby
I would like to request a count of records for a given filter criteria/query. For example:
SELECT VALUE COUNT(1) FROM c WHERE c....
When querying CosmosDb directly, this returns a response as follows:
(In the example above, there are 27 records)
Using the repository, this doesn't seem possible. Is there a way to use the existing repository to get the above result