Skip to content

Commit cf97a26

Browse files
authored
Revert "[8.0] Classify join statements as a complex query."
1 parent 6a44c00 commit cf97a26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/QueryDataTable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ protected function prepareCountQuery()
162162
*/
163163
protected function isComplexQuery($builder)
164164
{
165-
return Str::contains(Str::lower($builder->toSql()), ['union', 'having', 'distinct', 'order by', 'group by', 'join']);
165+
return Str::contains(Str::lower($builder->toSql()), ['union', 'having', 'distinct', 'order by', 'group by']);
166166
}
167167

168168
/**

0 commit comments

Comments
 (0)