{ "db_name": "PostgreSQL", "query": "INSERT INTO tutor_profiles (user_id, display_name, bio, location, custom_data)\n VALUES ($1, $2, $3, $4, $5)\n ON CONFLICT (user_id) DO UPDATE SET\n display_name = COALESCE(EXCLUDED.display_name, tutor_profiles.display_name),\n bio = EXCLUDED.bio,\n location = EXCLUDED.location,\n custom_data = EXCLUDED.custom_data,\n updated_at = NOW()\n RETURNING id, user_id, display_name, bio, location,\n custom_data,\n status, created_at, updated_at", "describe": { "columns": [ { "ordinal": 0, "name": "id", "type_info": "Uuid" }, { "ordinal": 1, "name": "user_id", "type_info": "Uuid" }, { "ordinal": 2, "name": "display_name", "type_info": "Varchar" }, { "ordinal": 3, "name": "bio", "type_info": "Text" }, { "ordinal": 4, "name": "location", "type_info": "Varchar" }, { "ordinal": 5, "name": "custom_data", "type_info": "Jsonb" }, { "ordinal": 6, "name": "status", "type_info": "Varchar" }, { "ordinal": 7, "name": "created_at", "type_info": "Timestamptz" }, { "ordinal": 8, "name": "updated_at", "type_info": "Timestamptz" } ], "parameters": { "Left": [ "Uuid", "Varchar", "Text", "Varchar", "Jsonb" ] }, "nullable": [ false, false, true, true, true, true, false, false, false ] }, "hash": "2cb363e76696f1a3be7f92b13e43739b86a8f582b0e85fa910a04024698e6efb" }