added batching for postgres

This commit is contained in:
dswbx
2025-03-07 19:40:58 +01:00
parent 3704cad53a
commit a4cb012ce8
7 changed files with 53 additions and 5 deletions

View File

@@ -329,6 +329,7 @@ export class SchemaManager {
if (local_updates === 0) continue;
// iterate through built qbs
// @todo: run in batches
for (const qb of qbs) {
const { sql, parameters } = qb.compile();
statements.push({ sql, parameters });