Commit graph

15 commits

Author SHA1 Message Date
74b1b212fe
Log SQL warnings to the error log, but only in development 2019-06-30 17:24:02 +01:00
336b7624fa
Fully comment database class 2019-06-23 13:13:28 +01:00
913786ec0b
Drastically optimise the queries behind fetch-data and device-data. 2019-06-22 21:08:12 +01:00
b4ae0b457b
Optimise some queries using the new datetime computed column, but there's more work to do.
The fetch-data query in particular is using the wrong index.
2019-06-22 11:50:23 +01:00
51c76ccd58
Add list-devices-near action with appropriate API documentation 2019-06-21 22:05:13 +01:00
0006c2a921
Add performance counter system. 2019-06-21 00:02:26 +01:00
6ec021de36
Only log sql qierues in development mode 2019-02-24 17:18:36 +00:00
3a2b2571f6
[API] Add device-id GET parameter to list-reading-types action.. 2019-02-07 19:15:38 +00:00
39869afea0
[server] Add device-data API action 2019-01-19 21:12:11 +00:00
0cefd047f4
[server] Add device-data-bounds API call 2019-01-19 16:08:47 +00:00
9f6bea64d4
Fix measurement data query, but it's not quite right yet 2019-01-15 17:02:24 +00:00
f66083575a
Fix database connection 2019-01-15 16:37:46 +00:00
57ec980b7d
Fix meaurement type repo 2019-01-15 16:16:00 +00:00
cef578d7eb
Implement a bunch of stuff.
Things are coming along fast!
2019-01-15 15:46:24 +00:00
4ea28cdbff
Setup database connection. Phew, that took longer than expected! 2019-01-14 21:32:55 +00:00