nxtgauge-backend-rust/.sqlx/query-fb14cd22b36c759a3bac924e44802bb8afed28c4debf39133d4a5454757a80b7.json

89 lines
1.9 KiB
JSON
Raw Permalink Normal View History

{
"db_name": "PostgreSQL",
"query": "\n INSERT INTO reviews (subject_type, subject_id, reviewer_name, rating, title, comment, status, is_published)\n VALUES ($1, $2, $3, $4, $5, $6, $7, true)\n RETURNING id, subject_type, subject_id, reviewer_name, customer_id AS reviewer_id,\n rating, title, comment, status, is_published, created_at\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Uuid"
},
{
"ordinal": 1,
"name": "subject_type",
"type_info": "Varchar"
},
{
"ordinal": 2,
"name": "subject_id",
"type_info": "Varchar"
},
{
"ordinal": 3,
"name": "reviewer_name",
"type_info": "Varchar"
},
{
"ordinal": 4,
"name": "reviewer_id",
"type_info": "Uuid"
},
{
"ordinal": 5,
"name": "rating",
"type_info": "Int2"
},
{
"ordinal": 6,
"name": "title",
"type_info": "Varchar"
},
{
"ordinal": 7,
"name": "comment",
"type_info": "Text"
},
{
"ordinal": 8,
"name": "status",
"type_info": "Varchar"
},
{
"ordinal": 9,
"name": "is_published",
"type_info": "Bool"
},
{
"ordinal": 10,
"name": "created_at",
"type_info": "Timestamptz"
}
],
"parameters": {
"Left": [
"Varchar",
"Varchar",
"Varchar",
"Int2",
"Varchar",
"Text",
"Varchar"
]
},
"nullable": [
false,
false,
true,
true,
true,
false,
true,
true,
false,
false,
false
]
},
"hash": "fb14cd22b36c759a3bac924e44802bb8afed28c4debf39133d4a5454757a80b7"
}