Skip to content

Commit

Permalink
Merge pull request #16646 from cakephp/4.x-query
Browse files Browse the repository at this point in the history
Deprecate unused properties.
  • Loading branch information
markstory committed Jul 21, 2022
2 parents 92bf43c + 18acea6 commit 593064b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Database/Query.php
Expand Up @@ -101,6 +101,7 @@ class Query implements ExpressionInterface, IteratorAggregate
* The list of query clauses to traverse for generating a SELECT statement
*
* @var array<string>
* @deprecated 4.4.3 This property is unused.
*/
protected $_selectParts = [
'with', 'select', 'from', 'join', 'where', 'group', 'having', 'order', 'limit',
Expand All @@ -111,20 +112,23 @@ class Query implements ExpressionInterface, IteratorAggregate
* The list of query clauses to traverse for generating an UPDATE statement
*
* @var array<string>
* @deprecated 4.4.3 This property is unused.
*/
protected $_updateParts = ['with', 'update', 'set', 'where', 'epilog'];

/**
* The list of query clauses to traverse for generating a DELETE statement
*
* @var array<string>
* @deprecated 4.4.3 This property is unused.
*/
protected $_deleteParts = ['with', 'delete', 'modifier', 'from', 'where', 'epilog'];

/**
* The list of query clauses to traverse for generating an INSERT statement
*
* @var array<string>
* @deprecated 4.4.3 This property is unused.
*/
protected $_insertParts = ['with', 'insert', 'values', 'epilog'];

Expand Down

0 comments on commit 593064b

Please sign in to comment.