Skip to content

Commit 97ef974

Browse files
franzholzlinawolf
andauthored
fix errors in note for ExpressionBuilder::as (#6384)
* fix errors in note for ExpressionBuilder::as The ExpressionBuilder class has neither a for nor a select method. It is the QueryBuilder instead. And the Select has no alias parameter. I cannot understand what is meant with the reducing of nesting by using an alias. * Apply suggestion from @linawolf * Apply suggestions from code review Co-authored-by: Lina Wolf <48202465+linawolf@users.noreply.github.com> * Apply suggestion from @linawolf * Apply suggestion from @linawolf * Apply suggestion from @linawolf * Apply suggestion from @linawolf --------- Co-authored-by: Lina Wolf <48202465+linawolf@users.noreply.github.com>
1 parent 90c0876 commit 97ef974

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • Documentation/ApiOverview/Database/DoctrineDbal/ExpressionBuilder

Documentation/ApiOverview/Database/DoctrineDbal/ExpressionBuilder/Index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Creates a statement to append a field alias to a value, identifier or sub-expres
186186

187187
.. note::
188188

189-
Some :php:`ExpressionBuilder` methods (like :php:`select()` and :php:`from()`) provide an argument to directly add
189+
Some :php-short:`\TYPO3\CMS\Core\Database\Query\QueryBuilder` methods (like :php:`select()` and :php:`from()`) provide an argument to directly add
190190
the expression alias to reduce nesting. This new method can be used for
191191
custom expressions and avoids recurring conditional quoting and alias appending.
192192

0 commit comments

Comments
 (0)