-
Notifications
You must be signed in to change notification settings - Fork 70
Open
Description
whenever i try to send custom SQL command to database in q.SQL() it reset q.sql at the end of the function so it send empty q.sql,and also q.sql is being reset in all other function ex.: q.Where(), q.Limit(), q.offSet(),
please tell me the difference between q.SQL() and q.Select(). If they both are used to pass sql commands why we don't use q.SQL() for all custom commands?
According to current implementation if we used q.Select() for update/ insert commands it would then need to accept arguments, the same idea of passing arguments to q.Where()
i think we can solve this issue also by creating q.Args() that will append args to q.args that then will be used is q.SQL()/q.Select().
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels