Supplying a database argument to a query without an :in clause
Closed this issue · 2 comments
dwhjames commented
If one builds the following query,
[
:find ?e
:where
[?e :ns/attr]
]
then
q(query, database)
fails. The query is interpreted as a no-args query and no database value can be supplied.
mandubian commented
I known this one :D
dwhjames commented
I guess the work around of always having
[
:find ?e
:in $
:where
[?e :ns/attr]
]
isn’t so bad