Actions
Bug #87850
closedSyntax error in example in comment
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Database API (Doctrine DBAL)
Target version:
-
Start date:
2019-03-06
Due date:
% Done:
0%
Estimated time:
0.02 h
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
no-brainer
Is Regression:
Sprint Focus:
Description
In Doctrine\DBAL\Query\QueryBilder the semikolon in the line "->where('u.id = :user_id');" is wrong:
/** * Turns the query being built into a bulk delete query that ranges over * a certain table. * ** $qb = $conn->createQueryBuilder() * ->delete('users', 'u') * ->where('u.id = :user_id'); * ->setParameter(':user_id', 1); *
* * @param string $delete The table whose rows are subject to the deletion. * @param string $alias The table alias used in the constructed query. * * @return $this This QueryBuilder instance.
*/
public function delete($delete = null, $alias = null) {
...
Actions