1
0
Fork 0
mirror of synced 2024-09-08 21:51:58 +12:00

Merge pull request #7914 from Budibase/bug/sev4/mysql-multiple-statements

Mysql multiple statements
This commit is contained in:
Martin McKeaveney 2022-09-26 15:33:39 +01:00 committed by GitHub
commit 7884d60ed3

View file

@ -30,6 +30,7 @@ interface MySQLConfig {
ssl?: { [key: string]: any }
rejectUnauthorized: boolean
typeCast: Function
multipleStatements: boolean
}
const SCHEMA: Integration = {
@ -136,6 +137,7 @@ class MySQLIntegration extends Sql implements DatasourcePlus {
delete config.rejectUnauthorized
this.config = {
...config,
multipleStatements: true,
typeCast: function (field: any, next: any) {
if (
field.type == "DATETIME" ||