Skip to content

Commit 4be3bd8

Browse files
committed
fix: remove unneeded cast()
1 parent b6b8c31 commit 4be3bd8

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

system/Database/Postgre/Builder.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -579,11 +579,7 @@ static function ($key, $value) use ($table, $alias, $that) {
579579
);
580580
}
581581

582-
return $table . '.' . $value . ' = '
583-
. $that->cast(
584-
$alias . '.' . $value,
585-
$that->getFieldType($table, $key)
586-
);
582+
return $table . '.' . $value . ' = ' . $alias . '.' . $value;
587583
},
588584
array_keys($constraints),
589585
$constraints

0 commit comments

Comments
 (0)