summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Adamansky <adamansky@gmail.com>2015-04-24 11:03:10 +0600
committerAnton Adamansky <adamansky@gmail.com>2015-04-24 11:03:10 +0600
commit5d82167651c9d1c6d473d7f3b207a2d8671e3fbc (patch)
tree9078fac3204da7e44b457ecc565f39cd34bfbe9d
parenta6711b3845360ab72ee4f0df145f35e745de0805 (diff)
downloadejdb-5d82167651c9d1c6d473d7f3b207a2d8671e3fbc.tar.gz
ejdb-5d82167651c9d1c6d473d7f3b207a2d8671e3fbc.tar.bz2
ejdb-5d82167651c9d1c6d473d7f3b207a2d8671e3fbc.zip
minors
-rw-r--r--src/ejdb/ejdb.h18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/ejdb/ejdb.h b/src/ejdb/ejdb.h
index 448a7bf..90ae8f2 100644
--- a/src/ejdb/ejdb.h
+++ b/src/ejdb/ejdb.h
@@ -263,7 +263,11 @@ EJDB_EXPORT bson* ejdbloadbson(EJCOLL *coll, const bson_oid_t *oid);
* Create the query object.
*
* Sucessfully created queries must be destroyed with ejdbquerydel().
- * See the complete query language specification: http://ejdb.org/doc/ql/ql.html
+ *
+ * See the complete query language specification:
+ *
+ * http://ejdb.org/doc/ql/ql.html
+ *
* Many query examples can be found in `src/ejdb/test/ejdbtest2.c` test case.
*
* @param jb EJDB database handle.
@@ -384,19 +388,19 @@ EJDB_EXPORT void ejdbqresultdispose(EJQRESULT qr);
/**
* Convenient method to execute update queries.
*
- * `$set` and `$inc` operations are supported:
+ * See the complete query language specification:
+ *
+ * http://ejdb.org/doc/ql/ql.html
*
- * `$set` Field set operation:
- * - {some fields for selection, '$set' : {'fpath1' : {obj}, ..., 'fpathN' : {obj}}}
- * `$inc` Increment operation. Only number types are supported.
- * - {some fields for selection, '$inc' : {'fpath1' : number, ..., 'fpathN' : {number}}
*
* @return Number of updated records
*/
EJDB_EXPORT uint32_t ejdbupdate(EJCOLL *jcoll, bson *qobj, bson *orqobjs, int orqobjsnum, bson *hints, TCXSTR *log);
/**
- * Provides 'distinct' operation over query (http://docs.mongodb.org/manual/reference/method/db.collection.distinct/).
+ * Provides 'distinct' operation over query
+ *
+ * (http://docs.mongodb.org/manual/reference/method/db.collection.distinct/).
*
* @param jcoll EJDB database collection handle.
* @param fpath Field path to collect distinct values from.