queries.DeleteQuery

Query class for DELETE operations.

Usage

Source

queries.DeleteQuery(table)

Methods

Name Description
__init__() Initialize a new DELETE query.
all() Explicitly indicate that this query should affect all rows.

__init__()

Initialize a new DELETE query.

Usage

Source

__init__(table)
Parameters
table: BaseTable
The table to delete from

all()

Explicitly indicate that this query should affect all rows.

Usage

Source

all()
Returns
self
For method chaining