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
Andrii Sherman16mo ago
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
desertOP16mo ago
thank you @Andrew Sherman
Want results from more Discord servers?
Add your server