We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce6d431 commit 6382f9cCopy full SHA for 6382f9c
1 file changed
apps/sim/lib/table/rows/service.ts
@@ -210,8 +210,8 @@ export async function batchInsertRows(
210
* is responsible for opening the transaction. Use when row inserts must be
211
* atomic with other writes (e.g., schema mutations) on the same tx.
212
*
213
- * Does not check plan capacity itself — callers do: `batchInsertRows` checks
214
- * before opening the tx, and the import paths gate the total up front.
+ * Capacity is NOT checked here (it would mean a billing-pool read inside the tx).
+ * Callers gate it before opening the tx — see `batchInsertRows` and the import paths.
215
*/
216
export async function batchInsertRowsWithTx(
217
trx: DbTransaction,
0 commit comments