falcony-io / sqlalchemy-searchable

Fulltext searchable models for SQLAlchemy. Only supports PostgreSQL
Other
262 stars 44 forks source link

refactor: migrate from legacy query API to select() #139

Closed jpvanhal closed 1 year ago

jpvanhal commented 1 year ago

The query interface is legacy in SQLAlchemy 2.0. Migrate the tests and documentation to use the Session.execute() in conjunction with select() to run ORM queries. The documentation and tests regarding SearchQueryMixin continue using the legacy query API.