Project

General

Profile

Actions

Task #102853

closed

Mitigate deprecated `QueryBuilder::add()` method calls

Added by Stefan Bürk 10 months ago. Updated 10 months ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2024-01-17
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

Doctrine DBAL deprecated a handfull QueryBuilder methods without
a replacement. One of them is the `add()` method to set or append
a specified query part. This method will be removed with Doctrine
DBAL 4.0.x [1]. The removal aligns to the decision to make the
internal state not accessable, like the also deprecated and
related methods `resetQueryParts()`, `resetQueryPart()`,
`getQueryParts()` and `getQueryPart()`.

[1] https://github.com/doctrine/dbal/blob/4.0.x/UPGRADE.md#bc-break-changes-in-the-querybuilder-api

Actions

Also available in: Atom PDF