{ "db_name": "PostgreSQL", "query": "INSERT INTO redirect_uris (id, uri, kind, description, created_by, created_at, updated_at, uri_enc, uri_index) VALUES ($1, $2, $3, $4, $5, now(), now(), $6, $7) ON CONFLICT (uri_index, kind) WHERE uri_index IS NOT NULL DO UPDATE SET updated_at = now() RETURNING id, uri, kind, enabled, description, created_by, created_at, updated_at, uri_enc, (xmax = 0) AS \"inserted!\"", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": "Uuid", "origin": { "Table": { "table": "redirect_uris", "name": "id" } } }, { "ordinal": 1, "name": "uri", "type_info": "Text", "origin": { "Table": { "table": "redirect_uris", "name": "uri" } } }, { "ordinal": 2, "name": "kind", "type_info": "Text", "origin": { "Table": { "table": "redirect_uris", "name": "kind" } } }, { "ordinal": 3, "name": "enabled", "type_info": "Bool", "origin": { "Table": { "table": "redirect_uris", "name": "enabled" } } }, { "ordinal": 4, "name": "description", "type_info": "Text", "origin": { "Table": { "table": "redirect_uris", "name": "description" } } }, { "ordinal": 5, "name": "created_by", "type_info": "Uuid", "origin": { "Table": { "table": "redirect_uris", "name": "created_by" } } }, { "ordinal": 6, "name": "created_at", "type_info": "Timestamptz", "origin": { "Table": { "table": "redirect_uris", "name": "created_at" } } }, { "ordinal": 7, "name": "updated_at", "type_info": "Timestamptz", "origin": { "Table": { "table": "redirect_uris", "name": "updated_at" } } }, { "ordinal": 8, "name": "uri_enc", "type_info": "Bytea", "origin": { "Table": { "table": "redirect_uris", "name": "uri_enc" } } }, { "ordinal": 9, "name": "inserted!", "type_info": "Bool", "origin": "Expression" } ], "parameters": { "Left": [ "Uuid", "Text", "Text", "Text", "Uuid", "Bytea", "Text" ] }, "nullable": [ false, true, false, false, false, true, false, false, true, null ] }, "hash": "91af982bb1418227fed7787bba39e3fab97337e7983061e6ffd7535d2674250c" }