Previous Page
unserializeCols()

Solar_Example_Model_Metas
update()

Next Class
Solar_Example_Model_Metas_Collection

update()

public array update ( array|Solar_Sql_Model_Record $spec, string|array $where )

Updates rows in the model table.

Inherited from Solar_Sql_Model.

Parameters

  • (array|Solar_Sql_Model_Record) $spec: The row data to insert.
  • (string|array) $where: The WHERE clause to identify which rows to update.

Returns

  • (array) The data as updated.

Description

Updates rows in the model table.