mrevutskyi / flask-restless-ng

A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models.
https://flask-restless-ng.readthedocs.io
Other
64 stars 11 forks source link

Added TSQuery operator #11

Closed ajite closed 3 years ago

ajite commented 3 years ago

The API can use both to_tsquery and plainto_tsquery operators.

I originally made a pull request jfinkels' repo but I am migrating my app to your version.

ajite commented 3 years ago

It seems that the lib does not work with SQLAlchemy 1.4.0. I restrained the version in both setup.py and requirements.txt.

In hindsight it would probably have been better to submit a pull request to restrain the SQLAlchemy version and resubmit this one after. Restraining the version might not be optimal and we might want to make the lib compatible with 1.4.0 and beyond but that's for another discussion.