Skip to content

Commit 76219ca

Browse files
committed
Patch MySQL Driver
1 parent 5091a7b commit 76219ca

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "strontium",
3-
"version": "2.9.9",
3+
"version": "2.9.10",
44
"description": "Strontium is a TypeScript toolkit for High Performance API servers built for Production not Projects.",
55
"main": "lib/src/index.js",
66
"types": "lib/src/index.d.ts",

src/datastore/drivers/mysql/MySQLStore.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export class MySQLStore implements Process, SQLStore {
2727
let queryResult = await promisify(
2828
this.connection.query.bind(this.connection)
2929
)(queryString, parameters)
30-
return queryResult.results
30+
return queryResult
3131
} catch (e) {
3232
if (e.fatal) {
3333
if (this.logger) {

src/datastore/drivers/mysql/MySQLTransaction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export class MySQLTransaction implements SQLStore {
3030
this.connection.query.bind(this.connection)
3131
)(queryString, parameters)
3232

33-
return queryResult.results
33+
return queryResult
3434
} catch (e) {
3535
if (e.fatal) {
3636
if (this.logger) {

0 commit comments

Comments
 (0)