Fork me on GitHub
#datalevin
<
2024-03-23
>
Huahai02:03:10

You need to be more specific

Huahai02:03:30

Client server?

rafaeldelboni11:03:22

I'm trying to do this in a query like this:

(d/q '[:find ?pn ?ps (count ?d)
                             :keys project sha qtd
                             :in $
                             :where
                             [?p :project/id]
                             [?p :project/name ?pn]
                             [?p :project/sha ?ps]
                             [?n :namespace/project ?p]
                             [?d :definition/namespace ?n]]
                           db)
But I'm getting an error: > ; (err) class clojure.lang.PersistentList$EmptyList cannot be cast to class clojure.lang.IEditableCollection (clojure.lang.PersistentList$EmptyList and clojure.lang.IEditableCollection are in unnamed module of loader 'app')

rafaeldelboni11:03:32

Without :keys the query works fine

Huahai17:03:44

Not right now, file an issue

👍 1