I am trying to understand how the new store refs work.
(let [id (blob/blob-id bytes)] ;; content hash — see below
(guard/with-unreferenced-writes store-id ;; see "the write window" below
(k/bassoc store id bytes {:sync? true})
(d/transact conn [{:issue/title "crash" :issue/attachment id}])))
In this example, the store-id is the id I pass in the config of dathike. Where do I get the store?
If I want to reuse the konserve store of the database itself, how do I get the store?
Is there a blob helper that creates hashes? Where is blob/blob-id defined in?
Thanks!(:store @conn) should work (you can get it out of the db. We might want to do this more explicitly with a function/API in the future.
Thanks @whilo