Fork me on GitHub
#datascript
<
2021-09-24
>
danbunea08:09:11

I posted the previous messages on clojurescript, but it seems I have an advanced compilation problem related to Datascript. Maybe someone can help. If I read the entire database:

(d/q '[:find ?e ?a ?v
           :where
           [?e ?a ?v]],@conn)
the results are:
:db #{[1 :app/id 1] [1 :app/name Projects] [2 :app/id 2] [2 :app/name Mudanza] [3 :app/id 3] [3 :app/name Deuras Alex Verano 2021]}
and on advanced:
:db #{[1 :app/id nil] [1 :app/name nil] [2 :app/id nil] [2 :app/name nil] [3 :app/id nil] [3 :app/name nil]}

danbunea19:09:08

It seems the answer could be here: I remember asking about something like this :) https://github.com/tonsky/datascript/wiki/Tips-&amp;-tricks#externs-and-shadow-cljs

lilactown19:09:56

yes, this is typically an externs problem

👍 1