prevent sql relationship delete from erroring
This commit is contained in:
parent
2887a42f7a
commit
0df6d24edf
|
@ -96,7 +96,7 @@
|
|||
"lodash": "4.17.21",
|
||||
"mongodb": "3.6.3",
|
||||
"mssql": "6.2.3",
|
||||
"mysql": "2.18.1",
|
||||
"mysql": "^2.18.1",
|
||||
"node-fetch": "2.6.0",
|
||||
"open": "7.3.0",
|
||||
"pg": "8.5.1",
|
||||
|
|
|
@ -264,7 +264,7 @@ module External {
|
|||
}
|
||||
|
||||
outputProcessing(
|
||||
rows: Row[],
|
||||
rows: Row[] = [],
|
||||
table: Table,
|
||||
relationships: RelationshipsJson[]
|
||||
) {
|
||||
|
@ -524,7 +524,7 @@ module External {
|
|||
// can't really use response right now
|
||||
const response = await makeExternalQuery(appId, json)
|
||||
// handle many to many relationships now if we know the ID (could be auto increment)
|
||||
if (processed.manyRelationships) {
|
||||
if (processed.manyRelationships && response) {
|
||||
await this.handleManyRelationships(
|
||||
response[0],
|
||||
processed.manyRelationships
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -29,6 +29,8 @@
|
|||
valueColumn,
|
||||
customOptions
|
||||
)
|
||||
|
||||
$: console.log(options)
|
||||
</script>
|
||||
|
||||
<Field
|
||||
|
|
Loading…
Reference in New Issue