Feathers database adapter for Objection.js, an ORM based on KnexJS SQL query builder for Postgres, Redshift, MSSQL, MySQL, MariaDB, SQLite3, and Oracle. Forked from feathers-knex.
MIT License
98
stars
48
forks
source link
Remove groupBy when counting rows for pagination #150
When counting rows for the pagination, groupBy is not necessary as we only need 1 row and groupBy can return multi-row when using join relation and $in operator in the where clause.
When counting rows for the pagination,
groupBy
is not necessary as we only need 1 row andgroupBy
can return multi-row when usingjoin
relation and$in
operator in the where clause.