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
Querying the flask_peewee API for columns that does not exist, returns all records from the table, instead of an empty set and/or an error that the supplied column name does not exist.
Notice, that the 'name' column does not exist in the table. This query returns a paginated result of all records in the table, instead of an (expected) notification that the column is invalid and/or an empty result set.
Using the latest version (0.6.5) installed from pip.
The text was updated successfully, but these errors were encountered:
Querying the flask_peewee API for columns that does not exist, returns all records from the table, instead of an empty set and/or an error that the supplied column name does not exist.
Consider the following code:
Launching the app, I can now query the API:
curl http://localhost:5000/api/myuser/?name=cheese
Notice, that the 'name' column does not exist in the table. This query returns a paginated result of all records in the table, instead of an (expected) notification that the column is invalid and/or an empty result set.
Using the latest version (0.6.5) installed from pip.
The text was updated successfully, but these errors were encountered: