Hi,

I got this habit of looking at which queries currently are live on
mysql db (via innotop).
And I like to add query name to each query.. example:

    SELECT /* custom comment here...users living in Poland */ id FROM
users WHERE country = 'pl';

This way I can quickly identify queries that run/appear too slow/often..

How can I inject custom query text into
"query(User).filter(User.country=='pl').all()"
to achieve the final query contains custom text/comment as in the
example below...?


Thanks for suggestions,
Tomasz


-- 
_i______'simplicity_is_the_key'__________tomasz_nazar
_ii____'i_am_concern_oriented'________________JKM-UPR
_iii__'patsystem.sf.net'___________________linux_user
_'aspectized.com'___________________________prevayler

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to