function deleteWithChildren deleteWithChildren(table: string,children: readonly { field: string; table: string; }[],): ((id: number) => Promise<void>) Delete one row and the rows that point at it, children first, in one batch. Each child names the column that holds the parent's id. Parameters table: string children: readonly { field: string; table: string; }[] Return Type ((id: number) => Promise<void>)