typed-knex icon indicating copy to clipboard operation
typed-knex copied to clipboard

Support ‘unknown’ columns

Open jellelicht opened this issue 2 years ago • 1 comments

Issue type:

  • [x] Question

Would it be possible to support columns that are ‘unknown’ to typed-knex? That is to say, columns in the db that are not a part of the typed-knex @table decorated entity. I’m thinking of a nullable column that is automatically managed by a db trigger, that shouldn’t impact any application operation in the first place.

If you are not against such a feature, would you be open to a PR implementing it as an opt-in feature?

jellelicht avatar Nov 11 '22 15:11 jellelicht

Can you give an example as how to use it? Will it be only for select queries?

wwwouter avatar Nov 13 '22 08:11 wwwouter