function deleteByField
deleteByField(
table: string,
field: string,
value: InValue
): Promise<void>

Delete rows matching a field value

Parameters

table: string
field: string
value: InValue

Return Type

Promise<void>

Usage

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