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 9da707a

Browse files
authored
parsing of second if it is an Expression object
1 parent 1fe3774 commit 9da707a

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 によって変換されたページ (->オリジナル) /