Skip to content

Commit 7f4ef4a

Browse files
authored
Merge pull request #3836 from BenMorel/query-parts
Introduce properties for SQL parts in QueryBuilder
2 parents 6d673d7 + a5140e3 commit 7f4ef4a

File tree

3 files changed

+303
-246
lines changed

3 files changed

+303
-246
lines changed

UPGRADE.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,9 @@
55
1. The `select()`, `addSelect()`, `groupBy()` and `addGroupBy()` methods no longer accept an array of arguments. Pass each expression as an individual argument or expand an array of expressions using the `...` operator.
66
2. The `select()`, `addSelect()`, `groupBy()` and `addGroupBy()` methods no longer ignore the first argument if it's empty.
77
3. The `addSelect()` method can be no longer called without arguments.
8-
9-
## BC BREAK: `QueryBuilder::insert()`, `update()` and `delete()` signatures changed
10-
11-
These methods now require the `$table` parameter, and do not support aliases anymore.
8+
4. The `insert()`, `update()` and `delete()` methods now require the `$table` parameter, and do not support aliases anymore.
9+
5. The `add()`, `getQueryPart()`, `getQueryParts()`, `resetQueryPart()` and `resetQueryParts()` methods are removed.
10+
6. For a `select()` query, the `getSQL()` method now throws an expression if no `SELECT` expressions have been provided.
1211

1312
## BC BREAK: `OCI8Statement::convertPositionalToNamedPlaceholders()` is removed.
1413

0 commit comments

Comments
 (0)