Project

General

Profile

Actions

Task #75751

closed

Epic #75555: Further Doctrine Development

Rename QueryContextType::NONE

Added by Morton Jonuschat over 8 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Must have
Category:
Database API (Doctrine DBAL)
Target version:
Start date:
2016-04-18
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Sprint Focus:

Description

Rename to QueryContextType::UNRESTRICTED, this allows to replace snippets like the following:

            $queryBuilder
                ->getQueryContext()
                ->setIgnoreEnableFields(true)
                ->setIncludeDeleted(true);

with something a little bit more obvious:

$queryBuilder->getQueryContext()->setContext('unrestricted')
Actions

Also available in: Atom PDF