skygear-server icon indicating copy to clipboard operation
skygear-server copied to clipboard

Support postgresql `decimal` and `numeric` type

Open limouren opened this issue 7 years ago • 1 comments

It would be extremely helpful for those who need exact number storage / calculation in a skygear app.

  • Skygear Server Date/Version: v1.3.1
  • Application Platform: server, js, iOS, android
  • [ ] Is this a regression?
  • [ ] Attached logs, screenshots

Expected Results

Actual Results

Steps to reproduce

limouren avatar Jan 30 '18 15:01 limouren

Should use this as decimal type:

https://github.com/shopspring/decimal

Example here:

https://github.com/jackc/pgx/blob/master/query_test.go#L913

cheungpat avatar Mar 28 '18 11:03 cheungpat