Skip to content

Commit 1735a32

Browse files
authored
mysql - moving to using query instead of execute (#923)
1 parent fb3cf0d commit 1735a32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mysql/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ class KeyvMysql<Value = any> extends EventEmitter {
5858
const connection = async () => {
5959
const conn = pool(options.uri!, mysqlOptions);
6060
return async (sql: string) => {
61-
const data = await conn.execute(sql);
61+
const data = await conn.query(sql);
6262
return data[0];
6363
};
6464
};

0 commit comments

Comments
 (0)