I am writing an information retrieval tool.

I want to add a feature by which one can save queries by name and then
run them later by specifying the name rather than the whole query again.

For example, maybe I make an elaborate query that finds documents
mentioning "SQLAlchemy" or "Alembic" in some PostgreSQL tsvector field
and with a value between 2018-12-01 and 2018-12-31 in some date field.
How do I serialize these filters?

I can of course serialize everything before I represent it as SQLAlchemy
objects, but I don't think that should be necessary.

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to