You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After reading sqlingvo source I'm confused with db argument of functions such as select, insert and others. db contains information about how to escape various SQL literals, so it's needed only when generating string representation of SQL AST - in sqlingvo.core.sql function.
It'll be much more convenient to completely separate AST construction and generation of SQL strings:
Hi Roman.
After reading sqlingvo source I'm confused with
db
argument of functions such asselect
,insert
and others.db
contains information about how to escape various SQL literals, so it's needed only when generating string representation of SQL AST - insqlingvo.core.sql
function.It'll be much more convenient to completely separate AST construction and generation of SQL strings:
Or I'm missing something? I can make a pull request if this change makes sense.
The text was updated successfully, but these errors were encountered: