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
Hi, how are you supposed to deal with reserved words for column names?
We are creating our predicates like:
let name = "test";
Predicate.create("Name", "contains", name);
The above works when the name variable is something random, but if it happens to be the same as the name of a column, e.g. "Id", then the SQL generated is something like:
SELECT * FROM Table WHERE Name = Id
Instead of
SELECT * FROM Table WHERE Name = 'Id'
How do we create the predicate in a way that the third parameter can overlap a column name?
The text was updated successfully, but these errors were encountered:
Hi, how are you supposed to deal with reserved words for column names?
We are creating our predicates like:
The above works when the name variable is something random, but if it happens to be the same as the name of a column, e.g. "Id", then the SQL generated is something like:
Instead of
How do we create the predicate in a way that the third parameter can overlap a column name?
The text was updated successfully, but these errors were encountered: