Merge pull request #7914 from Budibase/bug/sev4/mysql-multiple-statements
Mysql multiple statements
This commit is contained in:
commit
7884d60ed3
|
@ -30,6 +30,7 @@ interface MySQLConfig {
|
||||||
ssl?: { [key: string]: any }
|
ssl?: { [key: string]: any }
|
||||||
rejectUnauthorized: boolean
|
rejectUnauthorized: boolean
|
||||||
typeCast: Function
|
typeCast: Function
|
||||||
|
multipleStatements: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
const SCHEMA: Integration = {
|
const SCHEMA: Integration = {
|
||||||
|
@ -136,6 +137,7 @@ class MySQLIntegration extends Sql implements DatasourcePlus {
|
||||||
delete config.rejectUnauthorized
|
delete config.rejectUnauthorized
|
||||||
this.config = {
|
this.config = {
|
||||||
...config,
|
...config,
|
||||||
|
multipleStatements: true,
|
||||||
typeCast: function (field: any, next: any) {
|
typeCast: function (field: any, next: any) {
|
||||||
if (
|
if (
|
||||||
field.type == "DATETIME" ||
|
field.type == "DATETIME" ||
|
||||||
|
|
Loading…
Reference in New Issue