Automatic Batching Examples
Batching of load*() Calls
await Promise.all([
EntTopic.loadX(vc, "123"),
EntTopic.loadX(vc, "456"),
EntTopic.loadX(vc, "789"),
]);SELECT * FROM topics WHERE id IN(...)Batching of insert*() Calls
await Promise.all([
EntTopic.insertReturning(vc, { ... }),
EntTopic.insertReturning(vc, { ... }),
EntTopic.insertReturning(vc, { ... }),
]);Batching of Update, Delete and all Other Calls
De-batching and Deadlocks
Last updated