From 5352b544336203b83765929725ea7f2a94256b0f Mon Sep 17 00:00:00 2001 From: adam Date: Tue, 6 Aug 2013 10:31:54 +0700 Subject: [PATCH] docs in ejdb.h fixed accordingly with #88 --- tcejdb/ejdb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tcejdb/ejdb.h b/tcejdb/ejdb.h index 96ab328..ad36fb5 100644 --- a/tcejdb/ejdb.h +++ b/tcejdb/ejdb.h @@ -298,11 +298,11 @@ EJDB_EXPORT bson* ejdbloadbson(EJCOLL *coll, const bson_oid_t *oid); * - Queries can be used to update records: * * $set Field set operation. - * - {.., '$set' : {'field1' : val1, 'fieldN' : valN}} + * - {.., '$set' : {'fpath1' : val1, 'fpathN' : valN}} * $upsert Atomic upsert. If matching records are found it will be '$set' operation, * otherwise new record will be inserted * with fields specified by argment object. - * - {.., '$upsert' : {'field1' : val1, 'fieldN' : valN}} + * - {.., '$upsert' : {'fpath1' : val1, 'fpathN' : valN}} * $inc Increment operation. Only number types are supported. * - {.., '$inc' : {'fpath1' : number, ..., 'fpath2' : number} * $dropall In-place record removal operation. -- 2.7.4