Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Aaron
Posts
Comments
DT
Drizzle Team
•
Created by Aaron on 12/22/2023 in
#help
executing query builder sql
Dumb question but what's the best means of executing the result of my query builder?
https://orm.drizzle.team/docs/goodies#standalone-query-builder
// what's the best way to execute this sql / parms?
const
{
sql
,
params
}
=
query.
toSQL
();
// what's the best way to execute this sql / parms?
const
{
sql
,
params
}
=
query.
toSQL
();
4 replies