Skip to content

Conversation

darkdef
Copy link
Contributor

@darkdef darkdef commented Jan 3, 2023

Q A
Is bugfix?
New feature?
Breaks BC?

@what-the-diff
Copy link

what-the-diff bot commented Jan 3, 2023

  • Removed the normalization of insertColumns and updateColumns.
  • Added a new parameter to upsert() method: $insertParams, which is an array containing values for INSERT statement (if any).
  • Updated the code that generates SQL query string so it uses this new parameter when generating VALUES clause in INSERT part of UPSERT statement if present; otherwise, it falls back to using old behavior where column names are used as placeholders instead of actual values (which was done by previous version).

@darkdef darkdef merged commit 6c1b7a3 into yiisoft:master Jan 3, 2023
@darkdef darkdef deleted the normalize_ref branch January 3, 2023 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants