Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 25ce571

Browse files
Fixed parsing of second in where if it is an Expression object.
2 parents 1fe3774 + 9da707a commit 25ce571

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎src/CacheKey.php‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ protected function getColumnClauses(array $where) : string
8585
$where["first"] = $this->expressionToString($where["first"]);
8686
}
8787

88+
if ($where["second"] instanceof Expression) {
89+
$where["second"] = $this->expressionToString($where["second"]);
90+
}
91+
8892
return "-{$where["boolean"]}_{$where["first"]}_{$where["operator"]}_{$where["second"]}";
8993
}
9094

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /