Skip to content

Instantly share code, notes, and snippets.

@grkuntzmd
Last active February 17, 2016 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save grkuntzmd/dfe398ec204d889c32b5 to your computer and use it in GitHub Desktop.
Save grkuntzmd/dfe398ec204d889c32b5 to your computer and use it in GitHub Desktop.
Datomic.q(Query(
s"""[:find ?ident
:in $$
:where [_ :db/ident ?ident]
[(namespace ?ident) ?ns]
[(= ?ns "namespace_name")]
]"""
), database).foreach {
case ident: Keyword => println(ident)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment