From 5885a6f5e5dff79922c2c8de4d1c622de81bc649 Mon Sep 17 00:00:00 2001 From: Tigrov Date: Tue, 9 Apr 2024 11:39:23 +0700 Subject: [PATCH] Improve UPGRADE.md --- UPGRADE.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/UPGRADE.md b/UPGRADE.md index 77d6c08d4..dde268f37 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -21,5 +21,9 @@ in `addColumn()` method of your classes that implement the following interfaces: ### Build `Expression` instances inside `Expression::$params` -- `Expression::$params` can contain non-unique placeholder names, they will be replaced with unique names. -- `Expression::$params` can contain `Expression` instances, they will be built when building a query using `QueryBuilder`. +`ExpressionBuilder` is replaced by an abstract class `AbstractExpressionBuilder` with an instance of the +`QueryBuilderInterface` parameter in the constructor. Each DBMS driver should implement its own expression builder. + +`Expression::$params` can contain: +- non-unique placeholder names, they will be replaced with unique names. +- `Expression` instances, they will be built when building a query using `QueryBuilder`.