DT
Drizzle Team•13mo ago
elvinas

Drizzle as SQL query generator

Hey everyone, is it possible to use drizzle to generate SQL queries as a string? I'm planning to use Drizzle in a desktop app and I have to use different tooling to connect to the database. However, it would be amazing to generate plain queries 🤔
2 Replies
Luxaritas
Luxaritas•13mo ago
You can, by using the toSql query builder method You could consider writing your own driver though!
elvinas
elvinasOP•13mo ago
Thank you! I’ve also just saw that writing a driver is possible. Will do that as well 🥳
Want results from more Discord servers?
Add your server