blog/backend/.sqlx/query-4e022312b61c557d23f4541961f07b7afa8bf1f62f4a8e248d6520864b126a6a.json
SquidSpirit 1ae104cd56
All checks were successful
Frontend CI / build (push) Successful in 1m23s
BLOG-133 Unique label name and semantic ID (#135)
### 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>
2025-10-12 21:16:36 +08:00

23 lines
479 B
JSON

{
"db_name": "PostgreSQL",
"query": "\n SELECT id\n FROM post\n WHERE semantic_id = $1 AND deleted_time IS NULL\n ",
"describe": {
"columns": [
{
"ordinal": 0,
"name": "id",
"type_info": "Int4"
}
],
"parameters": {
"Left": [
"Text"
]
},
"nullable": [
false
]
},
"hash": "4e022312b61c557d23f4541961f07b7afa8bf1f62f4a8e248d6520864b126a6a"
}