Commit Graph

12 Commits

Author SHA1 Message Date
Aaron Lindsay a10f3105d9 db/transactions: Properly capitalize 'Date' column name 2017-12-15 09:13:04 -05:00
Aaron Lindsay 0372f0488f Move balance calculations into DBs 2017-12-12 20:55:49 -05:00
Aaron Lindsay a357d38eee Store currency/security values/prices using big.Rat natively
This adds 'shadow' types used only by the store/db internal package whch
handle converting these types to their DB-equivalent values. This change
should allow reports to be generated significantly faster since it
allows a large portion of the computation to be shifted to the database
engines.
2017-12-12 19:50:38 -05:00
Aaron Lindsay 483adb5c56 Don't leak non-interface type from database module
This removes the last place I used *db.DbStore instead of store.Store
outside the 'db' package.
2017-12-10 21:02:17 -05:00
Aaron Lindsay c4d2fe27e6 Take unexported database methods 'private' 2017-12-09 06:06:20 -05:00
Aaron Lindsay 32aef11da5 Finish 'store' separation 2017-12-09 05:56:45 -05:00
Aaron Lindsay af97f92df5 db: Paper over MySQL returning count=0 for unchanged updates 2017-12-09 05:47:25 -05:00
Aaron Lindsay da7e025509 Move splits/transactions to store 2017-12-08 21:27:03 -05:00
Aaron Lindsay 61676598dd Move prices to store 2017-12-07 21:05:55 -05:00
Aaron Lindsay 3326c3b292 Move accounts to store 2017-12-07 20:47:55 -05:00
Aaron Lindsay bec5152e53 Move users and securities to store 2017-12-07 20:08:43 -05:00
Aaron Lindsay c452984f23 Lay groundwork and move sessions to 'store' 2017-12-07 05:25:35 -05:00