Comparing version 1.0.23 to 1.0.24
@@ -206,3 +206,3 @@ var ejdblib; | ||
* - Queries can be used to update records | ||
* `$set` and `$inc` operations are supported. | ||
* | ||
* `$set` Field set operation. | ||
@@ -212,2 +212,4 @@ * - {some fields for selection, '$set' : {'field1' : {obj}, ..., 'field1' : {obj}}} | ||
* - {some fields for selection, '$inc' : {'field1' : number, ..., 'field1' : {number}} | ||
* `$dropall` In-place record removal operation. | ||
* - {some fields for selection, '$dropall' : true} | ||
* | ||
@@ -214,0 +216,0 @@ * NOTE: It is better to execute update queries with `$onlycount=true` hint flag |
{ | ||
"name" : "ejdb", | ||
"version" : "1.0.23", | ||
"version" : "1.0.24", | ||
"main" : "node/ejdb.js", | ||
@@ -5,0 +5,0 @@ "description" : "EJDB - Embedded JSON Database engine", |
@@ -275,7 +275,8 @@ EJDB - Embedded JSON Database engine | ||
Queries can be used to update records: | ||
`$set` and `$inc` operations are supported. | ||
`$set` Field set operation. | ||
- {some fields for selection, '$set' : {'field1' : {obj}, ..., 'field1' : {obj}}} | ||
`$inc` Increment operation. Only number types are supported. | ||
`$inc` Increment operation. Only number types are supported. | ||
- {some fields for selection, '$inc' : {'field1' : number, ..., 'field1' : {number}} | ||
`$dropall` In-place record removal operation. | ||
- {some fields for selection, '$dropall' : true} | ||
@@ -362,3 +363,3 @@ NOTE: It is better to execute update queries with `$onlycount=true` hint flag | ||
### update(cname, qobj, orarr, hints, cb) | ||
Convenient method to execute update queries. The `$set` and `$inc` operations are supported. | ||
Convenient method to execute update queries. | ||
@@ -369,2 +370,4 @@ * `$set` Field set operation: | ||
- {some fields for selection, '$inc' : {'field1' : number, ..., 'field1' : {number}} | ||
* `$dropall` In-place record removal operation. | ||
- {some fields for selection, '$dropall' : true} | ||
@@ -371,0 +374,0 @@ Call variations of update(): |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8192845
1007
717