Repository navigation
feat(flow-php/postgresql): data-modifying CTEs, SEARCH/CYCLE and RETURNING aliases in query builder - #2755
Merged
Conversation
…RNING aliases in query builder - cte() accepts INSERT, UPDATE, DELETE and MERGE queries - SEARCH and CYCLE on recursive CTEs - MERGE RETURNING with merge_action() - RETURNING WITH (OLD AS, NEW AS) through returningAliases() - in_subquery(), IN/ANY/EXISTS subqueries kept by fromAst() - removed dead cte() recursive flag and returning()/returning_all() DSL Closes #2747
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## 1.x #2755 +/- ##
============================================
+ Coverage 91.08% 91.10% +0.02%
- Complexity 32322 32376 +54
============================================
Files 2240 2242 +2
Lines 93397 93501 +104
============================================
+ Hits 85068 85185 +117
+ Misses 8329 8316 -13 🚀 New features to boost your workflow:
|
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves: #2747
Change Log
Added
flow-php/postgresql- INSERT, UPDATE, DELETE and MERGE queries incte()flow-php/postgresql- SEARCH and CYCLE clauses on recursive CTEsflow-php/postgresql- MERGEreturning(),returningAll()andmerge_action()flow-php/postgresql-returningAliases()for RETURNING WITH (OLD AS, NEW AS)flow-php/postgresql-in_subquery()for IN (subquery) conditionsFixed
flow-php/postgresql-fromAst()dropping SEARCH, CYCLE and RETURNING aliasesflow-php/postgresql-fromAst()failing on IN, ANY and EXISTS subqueriesflow-php/postgresql- aliased expressions in RETURNINGChanged
flow-php/postgresql-returning()without expressions throwsflow-php/postgresql- recursive WITH on MERGE throws at build timeRemoved
flow-php/postgresql-recursiveargument ofcte()andCTEflow-php/postgresql-returning()andreturning_all()DSL functionsflow-php/postgresql-ReturningClause::all()andReturningClause::columns()Deprecated
Security