Merge pull request #9221 from Budibase/bug/sev3/mysql-bit-boolean
MySQL convert bit to boolean
This commit is contained in:
commit
223ac31de8
|
@ -151,6 +151,9 @@ class MySQLIntegration extends Sql implements DatasourcePlus {
|
|||
) {
|
||||
return field.string()
|
||||
}
|
||||
if (field.type === "BIT" && field.length === 1) {
|
||||
return field.buffer()?.[0]
|
||||
}
|
||||
return next()
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue