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)order_by(*by)returning(*expr)submit()build the SQL statement and execute.
where(*expr)WHEREclause: https://www.sqlite.org/lang_select.html#whereclause