Fixed #48
authoradam <adamansky@gmail.com>
Thu, 7 Feb 2013 06:39:13 +0000 (13:39 +0700)
committeradam <adamansky@gmail.com>
Thu, 7 Feb 2013 06:39:13 +0000 (13:39 +0700)
README.md
node/ejdb.js
tcejdb/ejdb.h

index b71d173..e34093a 100644 (file)
--- a/README.md
+++ b/README.md
@@ -221,7 +221,7 @@ Call variations:
     save(cname, <json object>|<Array of json objects>, [options] [cb])
     save(cname, <json object>|<Array of json objects>, [cb])
 
-NOTE: JSON objects field names may not contain `$` and `.` characters,
+NOTE: Field names of passed JSON objects may not contain `$` and `.` characters,
       error condition will be fired in this case.
 
 __Arguments__
index be18ad3..a552086 100644 (file)
@@ -154,7 +154,7 @@ EJDB.prototype.dropCollection = function(cname, prune, cb) {
  *      - save(cname, <json object>|<Array of json objects>, cb)
  *      - save(cname, <json object>|<Array of json objects>, options, cb)
  *
- * NOTE: JSON objects field names may not contain `$` and `.` characters,
+ * NOTE: Field names of passed JSON objects may not contain `$` and `.` characters,
  *       error condition will be fired in this case.
  *
  * @param {String} cname Name of collection.
index 3049656..a543fc6 100644 (file)
@@ -182,7 +182,7 @@ EJDB_EXPORT bool ejdbrmcoll(EJDB *jb, const char *colname, bool unlinkfile);
  * If saved bson does't have _id primary key then `oid` will be set to generated bson _id,
  * otherwise `oid` will be set to the current bson's _id field.
  *
- * NOTE: Passed `bs` object field names may not contain `$` and `.` characters,
+ * NOTE: Field names of passed `bs` object may not contain `$` and `.` characters,
  *       error condition will be fired in this case.
  *
  * @param coll JSON collection handle.
@@ -197,7 +197,7 @@ EJDB_EXPORT bool ejdbsavebson(EJCOLL *coll, bson *bs, bson_oid_t *oid);
  * If saved bson does't have _id primary key then `oid` will be set to generated bson _id,
  * otherwise `oid` will be set to the current bson's _id field.
  *
- * NOTE: Passed `bs` object field names may not contain `$` and `.` characters,
+ * NOTE: Field names of passed `bs` object may not contain `$` and `.` characters,
  *       error condition will be fired in this case.
  *
  * @param coll JSON collection handle.