SQLX prepare

This commit is contained in:
Louis Knight-Webb
2025-06-15 14:18:14 -04:00
parent 458cff1651
commit 3d6b108880
21 changed files with 928 additions and 0 deletions

View File

@@ -0,0 +1,50 @@
{
"db_name": "PostgreSQL",
"query": "INSERT INTO projects (id, name, owner_id, created_at, updated_at) VALUES ($1, $2, $3, $4, $5) RETURNING id, name, owner_id, created_at, updated_at",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "name",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "owner_id",
"type_info": "Uuid"
},
{
"ordinal": 3,
"name": "created_at",
"type_info": "Timestamptz"
},
{
"ordinal": 4,
"name": "updated_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Uuid",
"Varchar",
"Uuid",
"Timestamptz",
"Timestamptz"
]
},
"nullable": [
false,
false,
false,
false,
false
]
},
"hash": "c9cb2594edb93c9cc75f0fc952c48fed263c536a1bf3b2e177e4a74cd3b4b30f"
}