From 4be3bd8dd50151e8634fd39f006cc136cc98c2ec Mon Sep 17 00:00:00 2001 From: kenjis Date: Thu, 25 Jan 2024 09:46:16 +0900 Subject: [PATCH] fix: remove unneeded cast() --- system/Database/Postgre/Builder.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/system/Database/Postgre/Builder.php b/system/Database/Postgre/Builder.php index 61562a7f8d65..3749d8383237 100644 --- a/system/Database/Postgre/Builder.php +++ b/system/Database/Postgre/Builder.php @@ -579,11 +579,7 @@ static function ($key, $value) use ($table, $alias, $that) { ); } - return $table . '.' . $value . ' = ' - . $that->cast( - $alias . '.' . $value, - $that->getFieldType($table, $key) - ); + return $table . '.' . $value . ' = ' . $alias . '.' . $value; }, array_keys($constraints), $constraints