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
thrownewLogicException("Only MySQL platform is supported, {$platform->getName()} given");
35
+
}
36
+
29
37
if (!$query->hasHint(self::class)) {
30
-
thrownewLogicException('UseIndexSqlWalker was used, but no index hint was added. Add ->setHint(UseIndexSqlWalker::class, [IndexHint::use(\'index_name\', \'table_name\')])');
38
+
thrownewLogicException("{$selfClass} was used, but no index hint was added. Add ->setHint({$selfClass}::class, [IndexHint::use('index_name', 'table_name')])");
31
39
}
32
40
33
41
if (!$query->getAST() instanceof SelectStatement) {
34
-
thrownewLogicException('Only SELECT query type is currently supported');
42
+
thrownewLogicException("Only SELECT queries are currently supported by {$selfClass}");
35
43
}
36
44
37
45
$hints = $query->getHint(self::class);
@@ -53,7 +61,7 @@ public function walkFromClause($fromClause): string
0 commit comments