Exception caught for "no such column: 1" in ZIMOrmModel.m
Closed this issue · 0 comments
Sylva1n commented
Hello,
in the [save] method, the selector [select column: @"1" alias: @"IsFound"]; leads to an exception. Sqlite engine explains that there is "no such column: 1".
The generated [select statement] is formatted like that:
SELECT [1] AS [isFound]...
It should be:
SELECT 1 AS [isFound]...
Best regards,
Sylvain