Skip to content

Commit 6382f9c

Browse files
chore(tables): align tx-variant capacity docstrings
1 parent ce6d431 commit 6382f9c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/sim/lib/table/rows/service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ export async function batchInsertRows(
210210
* is responsible for opening the transaction. Use when row inserts must be
211211
* atomic with other writes (e.g., schema mutations) on the same tx.
212212
*
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.
213+
* Capacity is NOT checked here (it would mean a billing-pool read inside the tx).
214+
* Callers gate it before opening the tx — see `batchInsertRows` and the import paths.
215215
*/
216216
export async function batchInsertRowsWithTx(
217217
trx: DbTransaction,

0 commit comments

Comments
 (0)