108 lines
2.9 KiB
JSON
108 lines
2.9 KiB
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n INSERT INTO job_seeker_profiles (\n user_id, full_name, location, summary, experience_years, \n skills, resume_url, bio, custom_data\n )\n VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9)\n ON CONFLICT (user_id) DO UPDATE SET\n full_name = EXCLUDED.full_name,\n location = EXCLUDED.location,\n summary = EXCLUDED.summary,\n experience_years = EXCLUDED.experience_years,\n skills = EXCLUDED.skills,\n resume_url = EXCLUDED.resume_url,\n bio = EXCLUDED.bio,\n custom_data = EXCLUDED.custom_data,\n updated_at = NOW()\n RETURNING \n id, user_id, full_name, location, summary, experience_years, \n skills, resume_url, active_application_count, status, bio, custom_data, \n created_at, updated_at\n ",
|
|
"describe": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 1,
|
|
"name": "user_id",
|
|
"type_info": "Uuid"
|
|
},
|
|
{
|
|
"ordinal": 2,
|
|
"name": "full_name",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 3,
|
|
"name": "location",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 4,
|
|
"name": "summary",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 5,
|
|
"name": "experience_years",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 6,
|
|
"name": "skills",
|
|
"type_info": "TextArray"
|
|
},
|
|
{
|
|
"ordinal": 7,
|
|
"name": "resume_url",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 8,
|
|
"name": "active_application_count",
|
|
"type_info": "Int4"
|
|
},
|
|
{
|
|
"ordinal": 9,
|
|
"name": "status",
|
|
"type_info": "Varchar"
|
|
},
|
|
{
|
|
"ordinal": 10,
|
|
"name": "bio",
|
|
"type_info": "Text"
|
|
},
|
|
{
|
|
"ordinal": 11,
|
|
"name": "custom_data",
|
|
"type_info": "Jsonb"
|
|
},
|
|
{
|
|
"ordinal": 12,
|
|
"name": "created_at",
|
|
"type_info": "Timestamptz"
|
|
},
|
|
{
|
|
"ordinal": 13,
|
|
"name": "updated_at",
|
|
"type_info": "Timestamptz"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid",
|
|
"Varchar",
|
|
"Varchar",
|
|
"Text",
|
|
"Int4",
|
|
"TextArray",
|
|
"Varchar",
|
|
"Text",
|
|
"Jsonb"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
true,
|
|
false,
|
|
false,
|
|
true,
|
|
true,
|
|
false,
|
|
false
|
|
]
|
|
},
|
|
"hash": "4d785499acc2a8b6d133a0b9087a46e75da4519bfa950a4086b441e2f6c1310b"
|
|
}
|