jsondb
jsondb copied to clipboard
db.query('$.items[?(@.id = 1)].name')
This fixes issue #6
When you remove nodes recursively sometimes parent nodes are removed before children causing an exception to be thrown.
Repro: ``` sh ipython Python 2.7.12 (default, Jun 29 2016, 08:18:26) Type "copyright", "credits" or "license" for more information. IPython 2.4.1 -- An enhanced Interactive Python. ? -> Introduction and...
hi,this is great project. it easy to use ,but i cant find a way to update my records。i used ('[]', filepath) to create a db. when i want to update...
The current implementation of slicing does not support negative step. Given the following data ``` db = jsondb.create({ 'name' : 'foo', 'items': [ {'id' : 0, 'name' : 'a'}, {'id'...