Simon Bruder
5b3dd34312
This architecture was started when the project still used Diesel. Now that it uses SQLx, less things are done in Rust and more are done in SQL. This commit now moves more of the query logic into SQL, which should lead to more efficient queries and less moving data around.
20 lines
468 B
JSON
20 lines
468 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "UPDATE items\n SET name = $2, parent = $3, class = $4, original_packaging = $5, description = $6\n WHERE id = $1",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid",
|
|
"Varchar",
|
|
"Uuid",
|
|
"Uuid",
|
|
"Uuid",
|
|
"Varchar"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "6737f54ceb18b9b744bac838801edbbdfe2cbf68a6346f93c072d47f5add9e46"
|
|
}
|