class TableDelete implements Executable (View source)

Class TableDelete

Methods

bind(array $placeholder_values)

Binds a value to a specific placeholder.

execute()

Execute the delete query.

limit(int $rows)

Sets the maximum number of records or documents to delete.

orderby(string $orderby_expr)

Set the order options for a result set.

where(string $where_expr)

Sets the search condition to filter.

Details

TableDelete bind(array $placeholder_values)

Binds a value to a specific placeholder.

Parameters

array $placeholder_values

Return Value

TableDelete

Result execute()

Execute the delete query.

Return Value

Result

TableDelete limit(int $rows)

Sets the maximum number of records or documents to delete.

Parameters

int $rows

Return Value

TableDelete

TableDelete orderby(string $orderby_expr)

Set the order options for a result set.

Parameters

string $orderby_expr

Return Value

TableDelete

TableDelete where(string $where_expr)

Sets the search condition to filter.

Parameters

string $where_expr

Return Value

TableDelete