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
The append method will modify the original sql in place.
However, it's common that we need to define a common base sql (as const), and append different WHERE or ORDER BY conditons to it (to get a new SQL instance) for different situations, this is not available at the momment.
A suggested solution could be:
In additional to the append method, we can also define a + operator, to return a new sql, without changing original one.
The text was updated successfully, but these errors were encountered:
The
append
method will modify the original sql in place.However, it's common that we need to define a common base sql (as const), and append different
WHERE
orORDER BY
conditons to it (to get a new SQL instance) for different situations, this is not available at the momment.A suggested solution could be:
In additional to the append method, we can also define a
+
operator, to return a new sql, without changing original one.The text was updated successfully, but these errors were encountered: