likwid/backend/.sqlx/query-42e0fab065d541e407129d44f86f1d1d46387494b992c81f7a334e72c42c98ca.json

82 lines
1.7 KiB
JSON
Raw Permalink Normal View History

{
"db_name": "PostgreSQL",
"query": "INSERT INTO invitations (code, created_by, email, community_id, max_uses, expires_at)\n VALUES ($1, $2, $3, $4, $5, $6)\n RETURNING id, code, created_by, email, community_id, max_uses, uses_count, \n expires_at, is_active, created_at",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "code",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "created_by",
"type_info": "Uuid"
},
{
"ordinal": 3,
"name": "email",
"type_info": "Varchar"
},
{
"ordinal": 4,
"name": "community_id",
"type_info": "Uuid"
},
{
"ordinal": 5,
"name": "max_uses",
"type_info": "Int4"
},
{
"ordinal": 6,
"name": "uses_count",
"type_info": "Int4"
},
{
"ordinal": 7,
"name": "expires_at",
"type_info": "Timestamptz"
},
{
"ordinal": 8,
"name": "is_active",
"type_info": "Bool"
},
{
"ordinal": 9,
"name": "created_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Varchar",
"Uuid",
"Varchar",
"Uuid",
"Int4",
"Timestamptz"
]
},
"nullable": [
false,
false,
false,
true,
true,
true,
true,
true,
true,
true
]
},
"hash": "42e0fab065d541e407129d44f86f1d1d46387494b992c81f7a334e72c42c98ca"
}