Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Postgres' money type should be handled as a string.
The money type contains effectively arbitrary string content before the numbers. Treating this data as a float results in 0.0 for all amounts which is annoying. By handling this type as a string we can give the developer the data they would see in pgadmin. Refs #6193
- Loading branch information
Showing
2 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters