Using query builder with views
How do you use the query builder with views? typescripts yells at me saying that db.query.nameOfView is not defined.
Thank you in advance
2 Replies
views are not supported in relational queries api, so I guess you need to use a simple Core API
something like
db.select().from(nameOfView)
thank you @Andrew Sherman