minors
authoradam <anton@adamansky.com>
Mon, 5 Nov 2012 19:03:11 +0000 (02:03 +0700)
committeradam <anton@adamansky.com>
Mon, 5 Nov 2012 19:03:11 +0000 (02:03 +0700)
README.md
node/ejdb.js
node/nbproject/configurations.xml
tcejdb/ejdb.h

index ec8f3f0..f1b5749 100644 (file)
--- a/README.md
+++ b/README.md
@@ -110,7 +110,7 @@ EJDB NodeJS API
 <a name="open" />
 ### EJDB.open(dbFile, openMode)
 
-Open database. Returns database instance handle object.
+Open database. Return database instance handle object.
 <br/>Default open mode: `JBOWRITER | JBOCREAT`.
 <br/>This is blocking function.
 
@@ -144,7 +144,7 @@ Check if database in opened state.
 ### ensureCollection(cname, copts)
 
 Automatically creates new collection if it does't exists.
-Collection options `copts` are applied only for newly created collection.
+Collection options `copts` applied only for newly created collection.
 For existing collections `copts` takes no effect.
 <br/>This is blocking function.
 
@@ -182,7 +182,7 @@ Save/update specified JSON objects in the collection.
 If collection with `cname` does not exists it will be created.
 
 Each persistent object has unique identifier (OID) placed in the `_id` property.
-If a saved object does not have this `_id` it will be autogenerated.
+If a saved object does not have  `_id` it will be autogenerated.
 To identify and update object it should contains `_id` property.
 
 Call variations:
@@ -202,7 +202,7 @@ __Arguments__
 <a name="load"/>
 ### load(cname, oid, cb)
 
-Loads JSON object identified OID from the collection.
+Loads JSON object identified by OID from the collection.
 
 __Arguments__
 
index 323f2db..acee7e9 100644 (file)
@@ -22,7 +22,7 @@ EJDB.DEFAULT_OPEN_MODE = DEFAULT_OPEN_MODE;
 
 /**
  * Open database.
- * Returns database instance handle object .
+ * Return database instance handle object .
  *
  * Default open mode: JBOWRITER | JBOCREAT
  *
@@ -104,7 +104,7 @@ EJDB.prototype.removeCollection = function(cname, prune, cb) {
  * If collection with `cname` does not exists it will be created.
  *
  * Each persistent object has unique identifier (OID) placed in the `_id` property.
- * If a saved object does not have this `_id` it will be autogenerated.
+ * If a saved object does not have `_id` it will be autogenerated.
  * To identify and update object it should contains `_id` property.
  *
  * Call variations:
@@ -144,7 +144,7 @@ EJDB.prototype.save = function(cname, jsarr, cb) {
 
 
 /**
- * Loads JSON object identified OID from the collection.
+ * Loads JSON object identified by OID from the collection.
  *
  * @param {String} cname Name of collection
  * @param {String} oid Object identifier (OID)
index 73883c9..b3cfa5f 100644 (file)
           </df>
         </df>
       </df>
+      <df name="samples">
+      </df>
       <df name="tests">
       </df>
       <df name="win32">
index 243faef..c53cf8a 100644 (file)
@@ -144,7 +144,7 @@ EJDB_EXPORT EJCOLL* ejdbgetcoll(EJDB *jb, const char* colname);
  *
  * @param jb EJDB handle.
  * @param colname Name of collection.
- * @param opts Options are applied only for newly created collection.
+ * @param opts Options applied only for newly created collection.
  *              For existing collections it takes no effect.
  *
  * @return Collection handle or NULL if error.