mirror of
https://github.com/modrinth/code.git
synced 2026-07-31 13:16:38 +00:00
* wip: initial kafka support
* wip: kafka search queue
* wip: kafka consumer
* wip: create/delete docs
* reindexing works
* reindex in more places
* also incrementally update server pings
* cleanup
* tombi
* fix ci
* update tombi
* prepare
* fix ci
* fix
* fix PLEASE
* 🙏
* add route to force reindex project
16 lines
505 B
JSON
16 lines
505 B
JSON
{
|
|
"db_name": "PostgreSQL",
|
|
"query": "\n UPDATE mods m\n SET downloads = m.downloads + x.amount\n FROM unnest($1::BIGINT[], $2::int[]) AS x(id, amount)\n WHERE m.id = x.id\n ",
|
|
"describe": {
|
|
"columns": [],
|
|
"parameters": {
|
|
"Left": [
|
|
"Int8Array",
|
|
"Int4Array"
|
|
]
|
|
},
|
|
"nullable": []
|
|
},
|
|
"hash": "e6287177bd5725f587327a9bd5bcce60358fe9401e0477c39c8a910412c3865c"
|
|
}
|