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
Angelelz
Angelelz15mo ago
There is an open issue about this
Angelelz
Angelelz15mo ago
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...
danEE
danEEOP15mo ago
Thank you for the link!

Did you find this page helpful?