Dadido3 / D3money

Arbitrary precision monetary values for go
MIT License
0 stars 0 forks source link

Improve DB storage schema #1

Closed Dadido3 closed 2 years ago

Dadido3 commented 2 years ago

There should be two columns for each the value and the currency. That would make it more efficient, and also allow sorting/filtering.

Not sure if that is even possible with the normal scanner and valuer interface, but it should be possible with at least GORM and other ORMs.

Keyword: composite types