1
0
Fork 0
mirror of synced 2024-09-15 16:59:43 +12:00

Fixing missed from.

This commit is contained in:
mike12345567 2023-11-28 18:45:05 +00:00
parent 65cddae9da
commit 649025ca12

View file

@ -390,7 +390,7 @@ class InternalBuilder {
const from = relationship.from,
to = relationship.to
// @ts-ignore
this.orOn(`${fromTable}.${from}`, "=", `${toAlias}.${to}`)
this.orOn(`${fromAlias}.${from}`, "=", `${toAlias}.${to}`)
}
})
} else {