mysql
golang
sql
orm
database
postgresql
help-wanted
repository-pattern
hacktoberfest
database-migration
-
Updated
Nov 16, 2021 - Go
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