Skip to main content

max / makenotwork

642 B · 27 lines History Blame Raw
1 {
2 "db_name": "PostgreSQL",
3 "query": "INSERT INTO posts (thread_id, author_id, body_markdown, body_html, external_ref)\n VALUES ($1, $2, $3, $4, $5)\n ON CONFLICT (external_ref) WHERE external_ref IS NOT NULL DO NOTHING\n RETURNING id",
4 "describe": {
5 "columns": [
6 {
7 "ordinal": 0,
8 "name": "id",
9 "type_info": "Uuid"
10 }
11 ],
12 "parameters": {
13 "Left": [
14 "Uuid",
15 "Uuid",
16 "Text",
17 "Text",
18 "Text"
19 ]
20 },
21 "nullable": [
22 false
23 ]
24 },
25 "hash": "f389ab3dc65891c9532ff130143e28c42589a08527684ea77e9781abd2326188"
26 }
27