Closed arjavlad closed 5 years ago
var query = getTable().filter(expressionStatus != 81).filter(expressionDueDate <= today || expressionStartDate <= today)
query.asSQL() gives me this query. SELECT * FROM "AIRISDLTask" WHERE (("status" !=(::) 81) AND (("dueDate" <=(::) '2019-03-26T12:31:38.356') OR ("startDate" <=(::) '2019-03-26T12:31:38.356')))
When this query is executed it returns error:
[logging] near ":_": syntax error
I'm using latest pods and Xcode 10.2
Duplicate of #888
var query = getTable().filter(expressionStatus != 81).filter(expressionDueDate <= today || expressionStartDate <= today)
query.asSQL() gives me this query. SELECT * FROM "AIRISDLTask" WHERE (("status" !=(::) 81) AND (("dueDate" <=(::) '2019-03-26T12:31:38.356') OR ("startDate" <=(::) '2019-03-26T12:31:38.356')))
When this query is executed it returns error:
[logging] near ":_": syntax error
I'm using latest pods and Xcode 10.2