then-mysql
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -26,2 +26,3 @@ 'use strict'; | ||
return this.query('CALL ' + name + '(' + qs.join(', ') + ')', args).then(function (result) { | ||
if (!Array.isArray(result)) return {metadata: result}; | ||
var metadata = result.pop(); | ||
@@ -28,0 +29,0 @@ // result is now an array of arrays of results. |
{ | ||
"name": "then-mysql", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A wrapper for the MySQL driver to use promises, connection pooling and nicer APIs all round", | ||
@@ -5,0 +5,0 @@ "keywords": ["promise", "then", "database", "mysql"], |
13152
294