feat: update sqlx
All checks were successful
Frontend CI / build (push) Successful in 1m23s

This commit is contained in:
SquidSpirit 2025-10-12 20:35:33 +08:00
parent 565df7aace
commit f900c2dc2b
4 changed files with 45 additions and 21 deletions

View File

@ -0,0 +1,22 @@
{
"db_name": "PostgreSQL",
"query": "\n SELECT id\n FROM post\n WHERE semantic_id = $1 AND deleted_time IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Int4"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false
]
},
"hash": "4e022312b61c557d23f4541961f07b7afa8bf1f62f4a8e248d6520864b126a6a"
}

View File

@ -1,6 +1,6 @@
{ {
"db_name": "PostgreSQL", "db_name": "PostgreSQL",
"query": "\n INSERT INTO post (\n title, description, preview_image_url, content, published_time\n ) VALUES ($1, $2, $3, $4, $5)\n RETURNING id\n ", "query": "\n INSERT INTO post (\n semantic_id, title, description, preview_image_url, content, published_time\n ) VALUES ($1, $2, $3, $4, $5, $6)\n RETURNING id\n ",
"describe": { "describe": {
"columns": [ "columns": [
{ {
@ -11,6 +11,7 @@
], ],
"parameters": { "parameters": {
"Left": [ "Left": [
"Varchar",
"Text", "Text",
"Text", "Text",
"Text", "Text",
@ -22,5 +23,5 @@
false false
] ]
}, },
"hash": "f0c2c0fe0a30790e88449da79c859d4e3829b9b2a6a496c9a429a05fbdb2e30a" "hash": "82c4c8d03298009e776d42ae6069182cc318e0b1d8497a675cf4449adcaf1927"
} }

View File

@ -0,0 +1,20 @@
{
"db_name": "PostgreSQL",
"query": "\n UPDATE post\n SET \n semantic_id = $1,\n title = $2, \n description = $3, \n preview_image_url = $4, \n content = $5, \n published_time = $6\n WHERE id = $7\n ",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Varchar",
"Text",
"Text",
"Text",
"Text",
"Timestamp",
"Int4"
]
},
"nullable": []
},
"hash": "9e486528becb873ace62656c78805034ddca950db7306ee04257d6b589b5a0d9"
}

View File

@ -1,19 +0,0 @@
{
"db_name": "PostgreSQL",
"query": "\n UPDATE post\n SET \n title = $1, \n description = $2, \n preview_image_url = $3, \n content = $4, \n published_time = $5\n WHERE id = $6\n ",
"describe": {
"columns": [],
"parameters": {
"Left": [
"Text",
"Text",
"Text",
"Text",
"Timestamp",
"Int4"
]
},
"nullable": []
},
"hash": "d0867ba2857fedcdc9a754d0394c4f040d559118d0b9f8b6f4dcd6e6fde5d381"
}