feathers icon indicating copy to clipboard operation
feathers copied to clipboard

feat: add tableOptions parameter for inheritance on knex adapter options to pass on knex builder

Open fidelio314 opened this issue 1 year ago • 0 comments

Add support on knex adapter to passe tableOptions on the Knex builder in order to support the option ONLY that discard the inheriting tables - For PostgreSQL only

Today the feathesjs-knex package was not able to pass the option:

{
  only: true
}

Here is the knex doc: https://knexjs.org/guide/query-builder.html#common

I propose a new knex specific adapter option called: tableOptions to be used on the getOptions method of the service class.

this can be passed on the db method on the knex adapter and therfore to the

Model(name, tableOptions)

fidelio314 avatar Sep 23 '24 13:09 fidelio314