Skip to content

Commit

Permalink
fix: remove unneeded cast()
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jan 25, 2024
1 parent b6b8c31 commit 4be3bd8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions system/Database/Postgre/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4be3bd8

Please sign in to comment.