mirror of
https://github.com/AppFlowy-IO/AppFlowy-Cloud.git
synced 2025-04-19 03:24:42 -04:00
* feat: template crud endpoint * fix: clippy error * fix: categories for related view * fix: add created at and last updated at to template response * feat: template api delete endpoint * feat: include number of template count for template creator * fix: use params instead of individual fields for template api * fix: seach template creator by name query * chore: simplify query * feat: support template count limit for template homepage
15 lines
438 B
JSON
15 lines
438 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n INSERT INTO af_related_template_view (view_id, related_view_id)\n SELECT $1 AS view_id, related_view_id\n FROM UNNEST($2::uuid[]) AS t(related_view_id)\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Uuid",
|
|
"UuidArray"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "b509712055858af398fd12ddd1a8c3da54280cf55f0c53f340bddbf4bf09b3e0"
|
|
}
|