TableUpdate
class TableUpdate implements Executable (View source)
Class TableUpdate
Methods
bind(array $placeholder_values)
Bind update query parameters
limit(int $rows)
Set the maximum number of records or documents update.
orderby(?string|?string[] ...$orderby_expr)
Sets the sorting criteria.
set(string $table_field, string $expression_or_literal)
Updates the column value on records in a table.
where(string $where_expr)
Set the search condition to filter.
Details
TableUpdate
bind(array $placeholder_values)
Bind update query parameters
Result
execute()
Executes the update statement.
TableUpdate
limit(int $rows)
Set the maximum number of records or documents update.
TableUpdate
orderby(?string|?string[] ...$orderby_expr)
Sets the sorting criteria.
TableUpdate
set(string $table_field, string $expression_or_literal)
Updates the column value on records in a table.
TableUpdate
where(string $where_expr)
Set the search condition to filter.