-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: EXPOSED-301 Update with join throws if additionalConstraint prov…
…ided (#2007) Attempting to use any join function in its full overload form, with an additionalConstraint argument, results in an exception if an update() is called instead of a select(). This occurs because the additionalConstraint conditions are being correctly appended to generated SQL, but their arguments are not being first registered with the prepared update statement. The arguments in the update statement now correctly register any additionalConstraint and take into account their order if an update with where is called.
- Loading branch information
Showing
2 changed files
with
49 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters