Skip to content

Instantly share code, notes, and snippets.

@jckdotim
Created December 9, 2011 17:27
Show Gist options
  • Save jckdotim/1452483 to your computer and use it in GitHub Desktop.
Save jckdotim/1452483 to your computer and use it in GitHub Desktop.
>>> Place.query.filter(Place.lat - 37.52 > 0.01).count()
2011-12-10 02:26:57,731 INFO sqlalchemy.engine.base.Engine SELECT count(*) AS count_1
FROM ...
FROM place
WHERE aes_decrypt(unhex(place.encrypted_lat), %s) - %s > %s) AS anon_1
2011-12-10 02:26:57,731 INFO sqlalchemy.engine.base.Engine ('1234567890123456', 37.520000000000003, 0.01)
8L
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment