Why do I get this message:
:db.error/not-an-entity Unable to resolve entity: :release/name
when I run the query below in the "Movies" db in dev-local?
Here is the code:
(defonce client (d/client {:server-type :dev-local
:system "datomic-samples"}))
(d/create-database client {:db-name "movies"})
(defonce conn (d/connect client {:db-name "movies"}))
(defonce db (d/db conn))
(d/q '[:find ?release-name
:in $
:where [$ _ :release/name ?release-name]]
db)
Many thanks for any solution!