WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 061cb34

Browse files
authored
Update CacheKey to convert expression to string
1 parent 2ef2c6e commit 061cb34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CacheKey.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ protected function getOtherClauses(array $where) : string
241241
$value .= $this->getValuesClause($where);
242242

243243
$column = "";
244-
$column .= isset($where["column"]) ? $where["column"] : "";
244+
$column .= isset($where["column"]) ? $this->expressionToString($where["column"]) : "";
245245
$column .= isset($where["columns"]) ? implode("-", $where["columns"]) : "";
246246

247247
return "-{$column}_{$value}";

0 commit comments

Comments
 (0)