D money data type compatible with postgresql money

Alex sascha.orlov at gmail.com
Sat Nov 17 12:25:43 UTC 2018


On Saturday, 17 November 2018 at 11:48:56 UTC, Václav Kozák wrote:
> Hello, I have a column of type money in my database. I need to 
> pull the data from the db in my vibe.d backend, but it can't 
> handle such data type. How can I do it? Should I use some 
> library (which?)? Thanks.

At code.dlang.org there are some...
Maybe this one?
https://code.dlang.org/packages/decimal
or this?
https://code.dlang.org/packages/money


More information about the Digitalmars-d-learn mailing list