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.
2 parents 5f76c19 + 420192d commit 7cdd61bCopy full SHA for 7cdd61b
src/CachedBuilder.php
@@ -75,6 +75,10 @@ protected function getWhereClauses() : string
75
return collect($this->query->wheres)->reduce(function ($carry, $where) {
76
$value = $where['value'] ?? implode('_', ($where['values'] ?? []));
77
78
+ if (! $value) {
79
+ return '';
80
+ }
81
+
82
return "{$carry}-{$where['column']}_{$value}";
83
}) ?: '';
84
}
0 commit comments