Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ejdb

Package Overview
Dependencies
Maintainers
1
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ejdb - npm Package Compare versions

Comparing version 1.0.23 to 1.0.24

4

node/ejdb.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc