diff --git a/src/CacheKey.php b/src/CacheKey.php index 057582f..eea4e29 100644 --- a/src/CacheKey.php +++ b/src/CacheKey.php @@ -263,6 +263,10 @@ protected function getQueryColumns(array $columns) : string return "_" . implode("_", $columns); } + $columns = array_map(function ($column) { + return $this->expressionToString($column); + }, $columns); + return "_" . implode("_", $columns); }