Fork me on GitHub
#datomic
<
2022-02-22
>
Ivan Fedorov12:02:17

How does one store vectors properties on Datomic? having a structure like

{:command/query "[:find …]"
 :command/title "something"}
Thinking if it’s a good idea to store query and its params as a string

kipz15:02:34

We do something like this, and we use pr-str/read-string and use the string type. Works for us.

👍 2
pkova13:02:31

storing the query as a string is a bad idea, better to quote the vector {:command/query '[:find ...] :command/title "something"}

Ivan Fedorov14:02:23

what value type would that be?