Socket
Socket
Sign inDemoInstall

database-ql

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

database-ql - npm Package Compare versions

Comparing version 0.8.2 to 1.0.0-beta.2

6

package.json
{
"name": "database-ql",
"version": "0.8.2",
"version": "1.0.0-beta.2",
"description": "Database interface for laf",

@@ -17,3 +17,3 @@ "main": "dist/commonjs/index.js",

"type": "git",
"url": "git+https://github.com/lafjs/laf.git"
"url": "git+https://github.com/labring/laf.git"
},

@@ -43,3 +43,3 @@ "keywords": [

},
"gitHead": "ba553db1f15d45e00507e1afc1a4c69496d425ba"
"gitHead": "d2808decff922bc7248ee1879ab30c59dfc8a154"
}

@@ -374,3 +374,3 @@

| ---- | ------ | ---- | --------------------------------------- |
| - | object | 是 | 要过滤的字段,不返回传false,返回传true |
| - | object | 是 | 要过滤的字段,不返回传0,返回传1 |

@@ -380,5 +380,5 @@ 使用示例

```js
collection.field({ 'age': true })
collection.field({ 'age': 1 })
```
备注:只能指定要返回的字段或者不要返回的字段。即{'a': true, 'b': false}是一种错误的参数格式
备注:只能指定要返回的字段或者不要返回的字段。即{'a': 1, 'b': 0}是一种错误的参数格式

@@ -607,3 +607,3 @@ ### 查询指令

const promiseList = res.data.map(document => {
return collection.doc(document.id).remove();
return collection.doc(document._id).remove();
});

@@ -610,0 +610,0 @@ Promise.all(promiseList);

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