summaryrefslogtreecommitdiff
path: root/db/query.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/query.sql')
-rw-r--r--db/query.sql6
1 files changed, 6 insertions, 0 deletions
diff --git a/db/query.sql b/db/query.sql
new file mode 100644
index 0000000..75d5b61
--- /dev/null
+++ b/db/query.sql
@@ -0,0 +1,6 @@
+-- name: EnterUsage :exec
+INSERT INTO Usage (
+ HardwareAddr, StartTime, StopTime, Egress, Ingress
+) VALUES (
+ $1, $2, $3, $4, $5
+);