Fixing missed from.

This commit is contained in:
mike12345567 2023-11-28 18:45:05 +00:00
parent 65cddae9da
commit 649025ca12
1 changed files with 1 additions and 1 deletions

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 {