Get raw query from toSQL
I trying to figure out if drizzle has a function or helper built in that builds the raw query returned from toSQL
right now toSQL returns params and sql as an object, i would like to get the raw sql query
this is what im doing now to achieve this, any alternatives or is there a something drizzle provides i missed thanks
5 Replies
I believe
.getSql()
is what you're looking for
Also, you might want to take a look at the dialect classes that Drizzle has@Angelelz it seems like the section you refer to got removed. Any idea where to find it now? Or is this still even possible?
What was removed?
Ooh nvm, I got confused because for some reason the page scrolled all the way down when I clicked on your link.
If it might get removed. Then here it is now.