Skip to content

Commit 5c01940

Browse files
committed
refactor: make type uppercase in SQL string for readablitiy
1 parent 3f51a44 commit 5c01940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Database/Postgre/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ private function castValue(string $fieldName, $value): string
428428

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

431-
return ($type === null) ? $value : $value . '::' . $type;
431+
return ($type === null) ? $value : $value . '::' . strtoupper($type);
432432
}
433433

434434
/**

0 commit comments

Comments
 (0)