All checks were successful
Frontend CI / build (push) Successful in 1m23s
### Description - It returns status `409 CONFLICT` if there is already a label with same name or a post with same semantic ID. ### Package Changes _No response_ ### Screenshots _No response_ ### Reference Resolves #133. ### Checklist - [x] A milestone is set - [x] The related issuse has been linked to this branch Reviewed-on: #135 Co-authored-by: SquidSpirit <squid@squidspirit.com> Co-committed-by: SquidSpirit <squid@squidspirit.com>
28 lines
658 B
JSON
28 lines
658 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"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": {
|
|
"columns": [
|
|
{
|
|
"ordinal": 0,
|
|
"name": "id",
|
|
"type_info": "Int4"
|
|
}
|
|
],
|
|
"parameters": {
|
|
"Left": [
|
|
"Varchar",
|
|
"Text",
|
|
"Text",
|
|
"Text",
|
|
"Text",
|
|
"Timestamp"
|
|
]
|
|
},
|
|
"nullable": [
|
|
false
|
|
]
|
|
},
|
|
"hash": "82c4c8d03298009e776d42ae6069182cc318e0b1d8497a675cf4449adcaf1927"
|
|
}
|