Created
November 26, 2011 15:39
-
-
Save ctataryn/1395874 to your computer and use it in GitHub Desktop.
Clojure Map problem
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
quadbot.client=> (use 'quadbot.persistence :reload-all) | |
nil | |
quadbot.client=> (def ident (invoke-with-connection insert-users2)) | |
#'quadbot.client/ident | |
quadbot.client=> (println ident) | |
{:SCOPE_IDENTITY() 29} | |
nil | |
quadbot.client=> (:SCOPE_IDENTITY() ident) | |
{:SCOPE_IDENTITY() 29} | |
quadbot.client=> (first ident) | |
[:SCOPE_IDENTITY() 29] | |
quadbot.client=> (second (first ident)) | |
29 | |
quadbot.client=> (get ident :SCOPE_IDENTITY()) | |
() | |
quadbot.client=> (get ident ":SCOPE_IDENTITY()") | |
nil | |
quadbot.client=> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment