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
SQL 'Syntax Error' from the SQL provider: Bean.FindIterator("Table", "id = {0}", 7)
Should be: Bean.FindIterator("Table", "WHERE id = {0}", 7)
Behaviour like this isn't always totally clear. We could at least handle syntax errors by throwing a custom LimebeanSyntaxError() exception with the problem SQL query included for analysis. Digging through an assembly's code until you realise you missed a 'WHERE' when you thought the API was doing that isn't super friendly.
The text was updated successfully, but these errors were encountered:
For instance:
SQL 'Syntax Error' from the SQL provider:
Bean.FindIterator("Table", "id = {0}", 7)
Should be:
Bean.FindIterator("Table", "WHERE id = {0}", 7)
Behaviour like this isn't always totally clear. We could at least handle syntax errors by throwing a custom LimebeanSyntaxError() exception with the problem SQL query included for analysis. Digging through an assembly's code until you realise you missed a 'WHERE' when you thought the API was doing that isn't super friendly.
The text was updated successfully, but these errors were encountered: