Executing a query that was made with QueryBuilder

I have a pnpm workspace where the schema and some queries are defined in one subproject, but the db connection is another subproject.

I want to use a QueryBuilder to build my queries, which I'd then import and execute once I have my connection.

So the question is simple – how can I execute the result of a QueryBuilder using the drizzle object?
Was this page helpful?