From 4ebb082bf18d3b939e59e10733178ab772eea9fd Mon Sep 17 00:00:00 2001 From: adam Date: Sun, 11 Aug 2013 23:49:31 +0700 Subject: [PATCH] added refs to $(projection) in code comments --- README.md | 3 +++ node/ejdb.js | 2 ++ tcejdb/ejdb.h | 2 ++ 3 files changed, 7 insertions(+) diff --git a/README.md b/README.md index ce0c754..fa541eb 100644 --- a/README.md +++ b/README.md @@ -538,6 +538,9 @@ Queries * - {..., $or : [subq1, subq2, ...] } * Example: {z : 33, $and : [ {$or : [{a : 1}, {b : 2}]}, {$or : [{c : 5}, {d : 7}]} ] } * + * - Mongodb $(projection) operator supported. (http://docs.mongodb.org/manual/reference/projection/positional/#proj._S_) + * + * * - Queries can be used to update records: * $set Field set operation. * - {.., '$set' : {'field1' : val1, 'fieldN' : valN}} diff --git a/node/ejdb.js b/node/ejdb.js index 2d38624..36982fc 100644 --- a/node/ejdb.js +++ b/node/ejdb.js @@ -325,6 +325,8 @@ function parseQueryArgs(args) { * - {..., $or : [subq1, subq2, ...] } * Example: {z : 33, $and : [ {$or : [{a : 1}, {b : 2}]}, {$or : [{c : 5}, {d : 7}]} ] } * + * - Mongodb $(projection) operator supported. (http://docs.mongodb.org/manual/reference/projection/positional/#proj._S_) + * * - Queries can be used to update records: * * $set Field set operation. diff --git a/tcejdb/ejdb.h b/tcejdb/ejdb.h index 92770ce..bcef111 100644 --- a/tcejdb/ejdb.h +++ b/tcejdb/ejdb.h @@ -299,6 +299,8 @@ EJDB_EXPORT bson* ejdbloadbson(EJCOLL *coll, const bson_oid_t *oid); * - {..., $or : [subq1, subq2, ...] } * Example: {z : 33, $and : [ {$or : [{a : 1}, {b : 2}]}, {$or : [{c : 5}, {d : 7}]} ] } * + * - Mongodb $(projection) operator supported. (http://docs.mongodb.org/manual/reference/projection/positional/#proj._S_) + * * - Queries can be used to update records: * * $set Field set operation. -- 2.7.4