diff --git a/README.md b/README.md index 6f33972..e7fc502 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,9 @@ # README -JSON FileSystem Database is a JSON database such as MongoDB backed by IO FileSystem operations.
+JSON FileSystem Database is a JSON database such as MongoDB backed by FileSystem IO.
Implemented with **Pessimistic Transaction Locking** approach.
-All methods are asynchronous and access / filtering is executed in parallel using [async](https://github.com/caolan/async).
+All methods are asynchronous and accessing / filtering is executed in parallel using [async](https://github.com/caolan/async).
Based on [Jalalhejazi](https://github.com/Jalalhejazi), [jsonfs](https://github.com/Jalalhejazi/jsonfs). # Dependencies @@ -66,6 +66,16 @@ var database, }); ``` +# Options + +```javascript +var Driver = new JSONDBFS({path: '/path/to/store/collections', inMemory: true}); +... +database.Collection.update(criteria, updateCriteria, {upsert: false, multi: true}, callback); +``` + +Please check the implementation ands tests for more details. + # License Apache License, Version 2.0 diff --git a/package.json b/package.json index 98ef08e..4321212 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "jsondbfs", "description": "JSON Filesystem Database.", "author": "Manuel Martins ", - "version": "0.0.2", + "version": "0.0.3", "license": "Apache-2.0", "engine": "node >= 0.12.0", "main": "./index",