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
returns code 500 and error message _sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) near "NULLS": syntax error [SQL: 'SELECT count(*) AS count_1 \nFROM (SELECT people.firstname || ? || people.lastname AS anon_2, people._created AS people__created, people._updated AS people__updated, people.etag AS people__etag, people.id AS people_id, people.firstname AS people_firstname, people.lastname AS people_lastname \nFROM people ORDER BY people.lastname DESC NULLS LAST) AS anon_1'] [parameters: (' ',)] // Werkzeug Debugger
Missing examples
It would be great to add examples:
how to use basic operators as AND and OR(e.g., WHERE lastname='Obama' OR firstname='John')
basic python requests example
as this does not work, returns code 500:
Unfortunately, I cannot make a pull request. I actually do not know how to make the Does not work stuff to get working, nor the Missing examples (even after several hours of playing with it).
I have tried the sqla_example.py from the /examples, but could not replicate some of the examples from the documentation (and similar):
Works:
both return 1 record
returns 4 records
returns 1 record
Does not work:
returns 0 records
returns 0 records
returns code 500 and error message simplejson.scanner.JSONDecodeError: Invalid \X escape sequence '': line 1 column 29 (char 28) // Werkzeug Debugger
returns code 500 and error message simplejson.scanner.JSONDecodeError: Invalid \X escape sequence '': line 1 column 29 (char 28) // Werkzeug Debugger
returns code 500 and error message _sqlalchemy.exc.OperationalError: (sqlite3.OperationalError) near "NULLS": syntax error [SQL: 'SELECT count(*) AS count_1 \nFROM (SELECT people.firstname || ? || people.lastname AS anon_2, people._created AS people__created, people._updated AS people__updated, people.etag AS people__etag, people.id AS people_id, people.firstname AS people_firstname, people.lastname AS people_lastname \nFROM people ORDER BY people.lastname DESC NULLS LAST) AS anon_1'] [parameters: (' ',)] // Werkzeug Debugger
Missing examples
It would be great to add examples:
as this does not work, returns code 500:
The text was updated successfully, but these errors were encountered: