Commit c65f9b4
committed
refactor(appengine): extract complex queries
- create a new module `Data`, which holds complex database operations
- the device_status_from device query has been refactored under DeviceStatus.
Signed-off-by: Francesco Noacco <francesco.noacco@secomind.com>1 parent cd6ceb3 commit c65f9b4
8 files changed
Lines changed: 1368 additions & 1646 deletions
File tree
- apps/astarte_appengine_api
- lib/astarte_appengine_api/device
- test/astarte_appengine_api/device
Lines changed: 10 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
58 | 63 | | |
59 | 64 | | |
60 | 65 | | |
| |||
0 commit comments