asami

Asami, the graph database https://github.com/threatgrid/asami
Craig Brozefsky 2021-03-21T00:39:58.159300Z

hmmm

❓ 1
Craig Brozefsky 2021-03-21T00:40:17.159600Z

I updated to Alpha7 and I'm not seeing string attributes...

Craig Brozefsky 2021-03-21T00:41:28.160200Z

nvm, just restared JVM

quoll 2021-03-21T00:42:00.160900Z

doh. I’m going through my environment madly here wondering what I did wrong :rolling_on_the_floor_laughing:

Craig Brozefsky 2021-03-21T00:42:19.161200Z

confirmed that I get enities with string attrs now

Craig Brozefsky 2021-03-21T00:42:35.161600Z

sorry, I apparently am not handling my global vars properly...

Craig Brozefsky 2021-03-21T00:45:08.163500Z

kewl, confirmed in both mem and durable store

quoll 2021-03-21T00:52:27.167100Z

BTW, I need to add this to the docs, but if you find you want to work with internal nodes at the repl, then these functions are in asami.graph

=> (require '[asami.graph :refer [new-node node-read node-reader]])
nil
=> (require '[clojure.edn :as edn])
nil
=> (new-node 36859)
#a/n "36859"
=> (node-read "36895")
#a/n "36859"
=> (edn/read-string {:readers node-reader} "[#a/n \"36895\" #a/n \"36896\" #a/n \"36897\"]")
[#a/n "36895" #a/n "36896" #a/n "36897"]