mmap/.sqlx/query-93734fffdd102bda19488e703012bdad22bf3675a9b2dbeaf7943c9d0341eaf2.json
tsuki 1d0e96ead4
Some checks are pending
Docker Build and Push / build (push) Waiting to run
add blog system
2025-08-12 21:25:17 +08:00

100 lines
2.4 KiB
JSON

{
"db_name": "PostgreSQL",
"query": "\n UPDATE settings \n SET value = COALESCE($1, value),\n description = COALESCE($2, description),\n category = COALESCE($3, category),\n is_editable = COALESCE($4, is_editable),\n updated_by = $5,\n updated_at = CURRENT_TIMESTAMP\n WHERE id = $6\n RETURNING id, key, value, value_type, description, category, is_encrypted, is_system, is_editable, \n created_at as \"created_at: DateTime<Utc>\", \n updated_at as \"updated_at: DateTime<Utc>\", \n created_by, updated_by\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "key",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "value",
"type_info": "Text"
},
{
"ordinal": 3,
"name": "value_type",
"type_info": "Varchar"
},
{
"ordinal": 4,
"name": "description",
"type_info": "Text"
},
{
"ordinal": 5,
"name": "category",
"type_info": "Varchar"
},
{
"ordinal": 6,
"name": "is_encrypted",
"type_info": "Bool"
},
{
"ordinal": 7,
"name": "is_system",
"type_info": "Bool"
},
{
"ordinal": 8,
"name": "is_editable",
"type_info": "Bool"
},
{
"ordinal": 9,
"name": "created_at: DateTime<Utc>",
"type_info": "Timestamptz"
},
{
"ordinal": 10,
"name": "updated_at: DateTime<Utc>",
"type_info": "Timestamptz"
},
{
"ordinal": 11,
"name": "created_by",
"type_info": "Uuid"
},
{
"ordinal": 12,
"name": "updated_by",
"type_info": "Uuid"
}
],
"parameters": {
"Left": [
"Text",
"Text",
"Varchar",
"Bool",
"Uuid",
"Uuid"
]
},
"nullable": [
false,
false,
true,
false,
true,
true,
true,
true,
true,
false,
false,
true,
true
]
},
"hash": "93734fffdd102bda19488e703012bdad22bf3675a9b2dbeaf7943c9d0341eaf2"
}