This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-07-28
Channels
- # announcements (33)
- # aws (2)
- # babashka (14)
- # beginners (128)
- # calva (34)
- # cestmeetup (3)
- # clj-kondo (12)
- # cljdoc (3)
- # clojure (114)
- # clojure-europe (31)
- # clojure-italy (3)
- # clojure-nl (7)
- # clojure-uk (6)
- # clojurescript (35)
- # conjure (20)
- # cursive (3)
- # data-science (3)
- # datomic (16)
- # docker (13)
- # events (1)
- # figwheel-main (22)
- # fulcro (109)
- # jobs (1)
- # kaocha (8)
- # keechma (1)
- # lambdaisland (5)
- # malli (1)
- # meander (8)
- # mid-cities-meetup (1)
- # off-topic (6)
- # overtone (7)
- # pathom (6)
- # re-frame (2)
- # reitit (9)
- # ring (1)
- # shadow-cljs (92)
- # specter (1)
- # tools-deps (311)
- # xtdb (76)
Not at present. There a number of differences in core attributes. You would have to write a program that reads the log from one database, keeps track of entity ids, drops or alters unsupported things (e.g. the bytes values type) and transacts into the other database.
Good evening everyone!! Is there a way to manipulate arrays with Datomic? (unfortunately I can’t use tuples, as they’re limited to 8 scalars).
https://docs.datomic.com/on-prem/schema.html#homogeneous-tuples vs https://docs.datomic.com/on-prem/schema.html#heterogeneous-tuples
Well I thought so too, but apparently I am unable to transact tuples larger than 8 values using :db.type/tuple
:
(d/transact conn [{:db/ident :weights
:db/valueType :db.type/tuple
:db/tupleType :db.type/double
:db/cardinality :db.cardinality/one}])
(d/transact conn [{:weights [0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8]}])
(d/transact conn [{:weights [0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9]}])
https://docs.datomic.com/on-prem/schema.html#tuples
says: A tuple is a collection of 2-8 scalar values
(http://java.io class)