@malloydata/db-mysql 0.0.424 → 0.0.426
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,7 +23,7 @@ export declare class MySQLConnection extends BaseConnection implements Connectio
|
|
|
23
23
|
getClient(): Promise<MYSQL.Connection>;
|
|
24
24
|
manifestTemporaryTable(sqlCommand: string): Promise<string>;
|
|
25
25
|
test(): Promise<void>;
|
|
26
|
-
runSQL(sql: string,
|
|
26
|
+
runSQL(sql: string, options?: RunSQLOptions): Promise<MalloyQueryData>;
|
|
27
27
|
isPool(): this is PooledConnection;
|
|
28
28
|
getDigest(): string;
|
|
29
29
|
canPersist(): this is PersistSQLResults;
|
package/dist/mysql_connection.js
CHANGED
|
@@ -117,9 +117,9 @@ class MySQLConnection extends connection_1.BaseConnection {
|
|
|
117
117
|
async test() {
|
|
118
118
|
await this.runRawSQL('SELECT 1');
|
|
119
119
|
}
|
|
120
|
-
runSQL(sql,
|
|
121
|
-
//
|
|
122
|
-
return this.runRawSQL(sql);
|
|
120
|
+
runSQL(sql, options) {
|
|
121
|
+
// MySQL has no native tagging mechanism; fall back to a leading comment.
|
|
122
|
+
return this.runRawSQL(this.sqlWithQueryMetadata(sql, options === null || options === void 0 ? void 0 : options.queryMetadata));
|
|
123
123
|
}
|
|
124
124
|
isPool() {
|
|
125
125
|
return false;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@malloydata/db-mysql",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.426",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"prepublishOnly": "npm run build"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@malloydata/malloy": "0.0.
|
|
26
|
+
"@malloydata/malloy": "0.0.426",
|
|
27
27
|
"@types/node": "^22.20.0",
|
|
28
28
|
"fastestsmallesttextencoderdecoder": "^1.0.22",
|
|
29
29
|
"luxon": "^3.7.2",
|