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
Andrii Sherman
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)
desert
desertOP2y ago
thank you @Andrew Sherman

Did you find this page helpful?