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 group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.