sipware-knex
Advanced tools
Comparing version 0.4.8 to 0.4.9
@@ -18,2 +18,10 @@ const env = process.env.SIPWARE_ENV || 'production'; | ||
static trans() { | ||
return knex.transaction(); | ||
} | ||
static tx(tx) { | ||
return tx(this._table); | ||
} | ||
static insert(...args) { | ||
@@ -20,0 +28,0 @@ return knex(this._table).insert(...args); |
@@ -21,3 +21,3 @@ { | ||
"optionalDependencies": {}, | ||
"version": "0.4.8", | ||
"version": "0.4.9", | ||
"scripts": { | ||
@@ -24,0 +24,0 @@ "test": "mocha" |
38649
102