Subj : trying to get started with a simple json-db
To   : Garth Grudge
From : MCMLXXIX
Date : Sun Feb 23 2014 11:20 pm

 Re: trying to get started with a simple json-db
 By: Garth Grudge to All on Sat Feb 22 2014 13:55:58

> I've got a couple js files that create json-db's, such as synchronetris or
> uberblox, however, after browsing the code, I couldn't find any reference to
> the creation of the db.  I've noticed if you add a DB service in the
> services.ini it does not actually create the database at that point after
> checking the directories.  Anyhow, if there's a point in the code or a

the only time the database deals with files is when loading a backup from file,
or storing an intermittent backup to file. the rest of the time, the data is
stored in an object. dont rely on the existence of files (that would, in your
case, be empty) because they dont exist until there's data to be saved. if you
monitor your logs you should see where it creates the database instance.

---
� Synchronet � The BRoKEN BuBBLE (bbs.thebrokenbubble.com)