We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b7f706 commit 9096fc9Copy full SHA for 9096fc9
src/QueryDataTable.php
@@ -82,7 +82,7 @@ public function getConnection(): Connection
82
*/
83
public static function canCreate($source): bool
84
{
85
- return $source instanceof QueryBuilder;
+ return $source instanceof QueryBuilder && ! ($source instanceof EloquentBuilder);
86
}
87
88
/**
0 commit comments