From 73605117a74b7f7366a35854f9aee554daf53f09 Mon Sep 17 00:00:00 2001 From: adam Date: Thu, 7 Feb 2013 13:39:13 +0700 Subject: [PATCH] Fixed #48 --- README.md | 2 +- node/ejdb.js | 2 +- tcejdb/ejdb.h | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b71d173..e34093a 100644 --- a/README.md +++ b/README.md @@ -221,7 +221,7 @@ Call variations: save(cname, |, [options] [cb]) save(cname, |, [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__ diff --git a/node/ejdb.js b/node/ejdb.js index be18ad3..a552086 100644 --- a/node/ejdb.js +++ b/node/ejdb.js @@ -154,7 +154,7 @@ EJDB.prototype.dropCollection = function(cname, prune, cb) { * - save(cname, |, cb) * - save(cname, |, 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. diff --git a/tcejdb/ejdb.h b/tcejdb/ejdb.h index 3049656..a543fc6 100644 --- a/tcejdb/ejdb.h +++ b/tcejdb/ejdb.h @@ -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. -- 2.7.4