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
Add optional parameter modifierFiltersResults for disabling count of $modify query results #136
Adds an optional parameter for allowing find() queries to opt-out of applying the result of any modifiers to the returned total.
Works around the issue with the total of groupBy described in https://github.com/feathersjs-ecosystem/feathers-objection/issues/102
The parameter can be safely set to false for any query with a modifier which does not filter the result set but only enhances it with additional data, e.h. withGraphFetched.
Adds an optional parameter for allowing
find()
queries to opt-out of applying the result of any modifiers to the returnedtotal
. Works around the issue with the total ofgroupBy
described in https://github.com/feathersjs-ecosystem/feathers-objection/issues/102 The parameter can be safely set tofalse
for any query with a modifier which does not filter the result set but only enhances it with additional data, e.h.withGraphFetched
.