Skip to content

Fix update/delete aliases in documentation#6470

Merged
derrabus merged 1 commit intodoctrine:4.0.xfrom
PrinsFrank:fix-update-delete-alias-documentation
Jul 16, 2024
Merged

Fix update/delete aliases in documentation#6470
derrabus merged 1 commit intodoctrine:4.0.xfrom
PrinsFrank:fix-update-delete-alias-documentation

Conversation

@PrinsFrank
Copy link
Copy Markdown
Contributor

@PrinsFrank PrinsFrank commented Jul 15, 2024

Q A
Type bug/improvement
Fixed issues Incorrect & inconsistent QueryBuilder documentation for aliases in update/delete

Summary

In #6394 the documentation was partially updated to remove aliases for the documentation for the update method, as the separate parameter for it was removed in the upgrade from 3.x to 4.x.

Inline aliasing is still possible, and I suspect this was the reason the extra parameter was removed. ( ->update('users alias1', 'alias2'))?

This PR readds the alias to the documentation for the occurences in the linked PR, and also updates the other occurences in docblocks + the online documentation.

@derrabus derrabus added this to the 4.0.5 milestone Jul 16, 2024
@derrabus derrabus merged commit 2fe737f into doctrine:4.0.x Jul 16, 2024
derrabus added a commit to derrabus/dbal that referenced this pull request Jul 23, 2024
* 4.0.x:
  Properly handle MySQL error code 4031 from PHP 8.4 (doctrine#6363)
  CI: Add MySQL 9, reduce test matrix (doctrine#6462)
  Fix update/delete aliases in documentation (doctrine#6470)
  Complete sentence
  Docs: update custom platform example to use middlewares (doctrine#6460)
  ci: nightly - php-8.1 only + workflow_dispatch
  ci: nightly - php-8.1 min version (doctrine#6457)
  mariadb: add nightly workflow to facilitate mariadb "nightlies" (doctrine#6435)
derrabus added a commit to derrabus/dbal that referenced this pull request Jul 23, 2024
* 4.1.x:
  Properly handle MySQL error code 4031 from PHP 8.4 (doctrine#6363)
  Add SmallFloat type (doctrine#6471)
  CI: Add MySQL 9, reduce test matrix (doctrine#6462)
  Fix update/delete aliases in documentation (doctrine#6470)
  Complete sentence
  Docs: update custom platform example to use middlewares (doctrine#6460)
  ci: nightly - php-8.1 only + workflow_dispatch
  ci: nightly - php-8.1 min version (doctrine#6457)
  mariadb: add nightly workflow to facilitate mariadb "nightlies" (doctrine#6435)
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Jul 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants