Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Datomic.q(Query(
s"""[:find ?name
:in $$
:where [_ :db/ident ?ident]
[(namespace ?ident) ?ns]
[(name ?ident) ?name]
[(= ?ns "namespace_name")]
]"""
), database).foreach {
case name: String => println(name)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment