.Delete()

Method Syntax

await db.Delete(resource)

Arguments

ArgumentsDescription
thing The table name or a RecordId to delete.
cancellationToken The cancellationToken enables graceful cancellation of asynchronous operations.

Example usage

// Delete all records from a table
await db.Delete("person");

// Delete a specific record from a table
await db.Delete(("person", "h5wxrf2ewk8xjxosxtyc"));