Project

General

Profile

Actions

Task #103343

closed

Replace sql int casts with `ExpressionBuilder::castInt()`

Added by Stefan Bürk 9 months ago. Updated 5 months ago.

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

100%

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

Description

Since #98503 the new TypoScript parser is used
in the frontend, which used a value list trick
to minimize database queries. That required to
do proper value casting for each list element,
which has been implementend manually with dbms
vendor aware handling.

Recently #103309 enriched the `ExpressionBuilder`
with a couple of additional expression methods,
including `castInt()` expression.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Feature #103309: Add more expression methods to ExpressionBuilderClosedStefan Bürk2024-03-06

Actions
Related to TYPO3 Core - Task #98503: Use new TypoScript parser in FrontendClosed2022-10-03

Actions
Actions

Also available in: Atom PDF