function deleteByFieldBatch
deleteByFieldBatch(deletes: Array<{ table: string; field: string; value: InValue; }>): Promise<void>

Delete rows from multiple tables in a single batch transaction

Parameters

deletes: Array<{ table: string; field: string; value: InValue; }>

Return Type

Promise<void>

Usage

import { deleteByFieldBatch } from "docs/database.ts";