What's the best way to create an intentionally empty query in SQLAlchemy?
For example, I've got a few functions which build up the query (adding WHERE
clauses, for example), and at some points I know that the the result will be empty.
What's the best way to create a query that won't return any rows? Something like Django's QuerySet.none()
.