{ "db_name": "PostgreSQL", "query": "INSERT INTO catering_service_profiles (user_id, business_name, bio, location, custom_data)\n VALUES ($1, $2, $3, $4, $5)\n ON CONFLICT (user_id) DO UPDATE SET\n business_name = COALESCE(EXCLUDED.business_name, catering_service_profiles.business_name),\n bio = EXCLUDED.bio,\n location = EXCLUDED.location,\n custom_data = EXCLUDED.custom_data,\n updated_at = NOW()\n RETURNING id, user_id, business_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": "business_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": "79898bc0c873c4fc3f45eb4b7a468bee71cf41d8ebe65672703fe92177a62cfb" }