-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Remove sql executor #12052
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove sql executor #12052
Conversation
* | ||
* @link www.doctrine-project.org | ||
*/ | ||
class SingleSelectExecutor extends AbstractSqlExecutor |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mpdude should this class be deprecated on 3.6.x?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice catch, that was not obvious or annotated. Removing it in #12195.
$this->assertInstanceOf(ResultSetMapping::class, $unserialized->getResultSetMapping()); | ||
$this->assertEquals(['name' => [0]], $unserialized->getParameterMappings()); | ||
$this->assertInstanceOf(SingleSelectExecutor::class, $unserialized->getSqlExecutor()); | ||
$this->assertIsString($unserialized->getSqlExecutor()->getSqlStatements()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure what these assertions should be replaced with. If there is something, maybe that something should be used on 3.x already.
$query->setQueryCache($cache); | ||
|
||
$query->getResult(); | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think maybe this should be rewritten on 3.x to avoid calling setSqlExecutor
.
There hasn't been any activity on this pull request in the past 90 days, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days. |
Closing in favor of #12195 |
This is a follow up to #11188