You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
QueryBuilderSetParameter - src/Repository/... - To improve performance set explicit type for objects
$queryBuilder->andWhere('a.user = :user')->setParameter('user', $user);
Would it be possible to create a linked "help" page for this? Like e.g. here:
The QueryBuilderSetParameter is quite scary when you see the title Massive performance issue, however to me it should be a 'WARNING' level instead of 'ERROR' level.
Would it be possible to create a linked "help" page for this? Like e.g. here:
Technically you can override $link property of IssueData instance returned from toIssueData() method of the issue class. $link is declared readonly in docblock and IssueData is an internal class though, so that's not something we officially support at the moment.
I'm talking about:
Would it be possible to create a linked "help" page for this? Like e.g. here:
Cause I'd like to collect some best practices there. Some questions:
DateTime*
(not other objects). And inDoctrine\DBAL\Types\Types
this one is the only object I can see where adding the 3rdtype
argument to->setParameter()
does make sense. So the error message "set explicit type for objects" in fact only makes sense forDateTime
?The text was updated successfully, but these errors were encountered: