Solar_Sql_Model::update()

public int Solar_Sql_Model::update ( array $data , string|array $where )

Updates rows in the model table and deletes cache entries.

Parameters

  • (array) $data: The row data to insert.

  • (string|array) $where: The WHERE clause to identify which rows to update.

Returns

  • (int) The number of rows affected.

Description

Updates rows in the model table and deletes cache entries.

See Also



Local