a1d294c309
securities: Allow SQL update count to be 0
...
MySQL reports 0 here, while sqlite reports 1. Improve the logged message
while we're at it.
2017-10-24 20:24:12 -04:00
2ff1f47432
Remove duplicate *Tx versions of database access methods
...
Simplify naming to remove "Tx" now that all handlers only have access to
transactions anyway, and always use "tx" as the name of the variable
representing the SQL transactions (to make it less likely to cause
confusion with monetary transactions).
2017-10-14 19:41:13 -04:00
4e53a5e59c
Use SQL transactions for the entirety of every request
2017-10-14 14:20:50 -04:00
d5f8d57bf2
testing: Add tests for fetching multiple securities
2017-10-12 20:47:44 -04:00
14b0839b41
Add security tests
2017-10-09 21:11:50 -04:00
e0ce1576cd
Add first test
...
This tests only querying security templates, and not very exhaustively,
but it's a test!
2017-10-05 08:06:08 -04:00
d0a5980b85
First pass at reorganizing go code into sub-packages
2017-10-04 19:35:59 -04:00