From ce7441ca1c041eac9e308681be8fbe593f5ce461 Mon Sep 17 00:00:00 2001 From: Simon Asika Date: Wed, 8 Jan 2025 14:23:27 +0800 Subject: [PATCH] Fix where conditions --- src/EntityMapper.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/EntityMapper.php b/src/EntityMapper.php index 78da359..886fed6 100644 --- a/src/EntityMapper.php +++ b/src/EntityMapper.php @@ -1420,6 +1420,11 @@ protected function handleConditionColumn(string $key, mixed $value): mixed $metadata = $this->getMetadata(); $col = $metadata->getColumn($key); + + if (!$col) { + return $value; + } + $prop = $col->getProperty(); // UUID Binary