neuralib.sqlp.stat.SqlDeleteStat

class neuralib.sqlp.stat.SqlDeleteStat[source]

Bases: SqlStat[T], SqlWhereStat, SqlLimitStat, SqlReturnStat, Generic[T]

__init__(table)
Parameters:

table (type[T] | None)

Methods

__init__(table)

add(stat)

Add SQL token.

build()

build a SQL statement.

drop()

limit(*args)

LIMIT: https://www.sqlite.org/lang_select.html#limitoffset

order_by(*by)

ORDER BY: https://www.sqlite.org/lang_select.html#orderby

returning(*expr)

submit()

build the SQL statement and execute.

where(*expr)

WHERE clause: https://www.sqlite.org/lang_select.html#whereclause