Skip to content

Commit

Permalink
refactor: make type uppercase in SQL string for readablitiy
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Jan 22, 2024
1 parent 3f51a44 commit 5c01940
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Database/Postgre/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ private function castValue(string $fieldName, $value): string

$type = $this->QBOptions['fieldTypes'][$fieldName] ?? null;

return ($type === null) ? $value : $value . '::' . $type;
return ($type === null) ? $value : $value . '::' . strtoupper($type);
}

/**
Expand Down

0 comments on commit 5c01940

Please sign in to comment.