Skip to content

Commit 188a30a

Browse files
committed
Add Postgres insert variant.
1 parent 5c5f93d commit 188a30a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
INSERT INTO solarnode.mtr_metric (ts, mtype, mname, val)
2+
VALUES (?, ?, ?, ?)
3+
ON CONFLICT (ts, mtype, mname) DO NOTHING

0 commit comments

Comments
 (0)