InferSelectModel on views
Is there any possibility to get correct typescript types from views?
There seems to be nothing like
InferSelectModel
for views.
Appreciate your help!3 Replies
There is an open issue about this
GitHub
[FEATURE]: Add
getSubqueryFields
helper to goodies · Issue #1459 ...Describe what you want The getTableColumns helper is really useful, but an equivalent lacks for subqueries. This can easily be implemented in userland, although it feels like the kind of helper tha...
Thank you for the link!