Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Explicitly select all columns that appear in order_by
Ref: https://docs.sqlalchemy.org/en/20/changelog/migration_20.html#using-distinct-with-additional-columns-but-only-select-the-entity Note: this query-building code needs to be converted to SA 2.0; but same requirement applies.
- Loading branch information