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

dbq

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dbq - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

2

package.json
{
"name": "dbq",
"version": "0.1.0",
"version": "0.1.1",
"description": "terse node-mysql query wrapper that supports parallel & series execution",

@@ -5,0 +5,0 @@ "main": "dbq.js",

@@ -17,3 +17,3 @@ # dbq

db("select * from user where name=?",['morty']
"select name,volume from dims where dim=?",['c-137']
,"select name,volume from dims where dim=?",['c-137']
,(morty,dim)=>{/*fiddle*/})

@@ -24,10 +24,10 @@ ```

```javascript
db( "select * from jerrys where dim=?",["c-137"]
,"select * from ricks where dim=?",["J19ζ7"]
) .then(([jerry,doofusRick])=>{//a promise resolves to 1 value, but es6 destructuring can separate them
//fiddle
})
//if it's thenable, you can catch, too
.catch(errorHandler)
//but it's already going to log out when errors happen anyway
db("select * from jerrys where dim=?",["c-137"]
,"select * from ricks where dim=?",["J19ζ7"]
).then(([jerry,doofusRick])=>{//a promise resolves to 1 value, but es6 destructuring can separate them
//fiddle
})
//if it's thenable, you can catch, too
.catch(errorHandler)
//but it's already going to log out when errors happen anyway
```

@@ -34,0 +34,0 @@ ### [Series or Parallel](#series-or-parallel)

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