Skip to content
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

[8.x] Passthru Eloquent\Query::explain function to Query\Builder:explain for the ability to use database-specific explain commands #40075

Merged
merged 1 commit into from
Dec 17, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/Illuminate/Database/Eloquent/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Exception;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Database\Concerns\BuildsQueries;
use Illuminate\Database\Concerns\ExplainsQueries;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\Relation;
use Illuminate\Database\Query\Builder as QueryBuilder;
Expand All @@ -26,7 +25,7 @@
*/
class Builder
{
use Concerns\QueriesRelationships, ExplainsQueries, ForwardsCalls;
use Concerns\QueriesRelationships, ForwardsCalls;
use BuildsQueries {
sole as baseSole;
}
Expand Down Expand Up @@ -96,6 +95,7 @@ class Builder
'doesntExist',
'dump',
'exists',
'explain',
'getBindings',
'getConnection',
'getGrammar',
Expand Down