Wukong,
there’s also https://github.com/tonsky/datascript-transit
Best,
Nikita
On Monday, September 26, 2016 at 7:15:16 PM UTC+7, Wukong Sun wrote:
>
> Hi,
>
> Is there a easy way to save/load a datascript DB to file?
>
> I'm not looking to use datomic. I just need a way to save my
This should be pretty easy. You can use `datascript.core/datoms` to produce
a sequence of datoms which you serialize as EDN, CSV or (gasp) JSON. For
reading back in, you can use `datascript.core/conn-from-datoms`.
Chris
On Monday, September 26, 2016 at 5:15:16 AM UTC-7, Wukong Sun wrote:
>
>
Hi,
Is there a easy way to save/load a datascript DB to file?
I'm not looking to use datomic. I just need a way to save my datascript
db to file and to read it later.
Thanks!
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this