This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-08-25
Channels
- # admin-announcements (18)
- # beginners (16)
- # boot (13)
- # bristol-clojurians (1)
- # cider (41)
- # clojure (116)
- # clojure-berlin (1)
- # clojure-italy (2)
- # clojure-japan (6)
- # clojure-russia (94)
- # clojurescript (46)
- # clojutre (5)
- # core-matrix (2)
- # cursive (1)
- # datascript (14)
- # datomic (10)
- # devops (73)
- # editors (3)
- # emacs (19)
- # hoplon (382)
- # jobs (1)
- # ldnclj (8)
- # ldnproclodo (4)
- # off-topic (50)
- # onyx (3)
- # reagent (2)
- # yada (19)
I'm working on a legacy cljs application using datascript, and it uses strings for :db/id
s. I want to upgrade datascript, but it seems I'm no longer allowed to use strings as eids - is there a good way of doing this? It would be infeasible to manually change all IDs in the code from strings to numbers.
You have to migrate to external ids, where string id is just an attribute with {:db/unique :db.unique/identity}
yeah, i see. :db/id
really is just an internal database id, not meant for cramming stuff into (as we did, we put uuids in there)