Created
May 15, 2014 14:16
-
-
Save wunki/04cac02340405ffd63ee to your computer and use it in GitHub Desktop.
Dynamic ordering with Clojure's yesql.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM users ORDER BY :order ASC |
@krisajenkins PostgreSQL. Could be that it's my incompetence, but I couldn't get an error, neither would sorting change with different values.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hmm...which DB are you using?