hourly_15 (view)
1 row
This data as json, CSV (advanced)
| last_1h_op | last_1h_tx |
|---|---|
| 582 | 582 |
Advanced export
JSON shape: default, array, newline-delimited
CREATE VIEW hourly_15 as SELECT count(*) as `last_1h_op`, count(*) as `last_1h_tx`
FROM "mod_warehouse_tx"
WHERE ("mod_warehouse_tx"."tx_time" / 1000) BETWEEN strftime('%s', 'now')- 54000
AND strftime('%s', 'now')- 50400
LIMIT 1;