Comparing version 1.2.0 to 1.3.0
@@ -39,2 +39,6 @@ function CafeQueryError(message) { | ||
}, | ||
count: async (query, ...values) => { | ||
const [rows] = await dataSource.query(query, values) | ||
return rows.length | ||
}, | ||
query: async (query, ...values) => { | ||
@@ -41,0 +45,0 @@ const [rows] = await dataSource.query(query, values) |
{ | ||
"name": "cafe-query", | ||
"version": "1.2.0", | ||
"version": "1.3.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
2368
63