Previous Page
getRelated()

Solar_Model_Tags
insert()

Next Page
locale()

insert()

public array insert ( array|Solar_Sql_Model_Record $spec )

Inserts one row to the model table and deletes cache entries.

Inherited from Solar_Sql_Model.

Parameters

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

Returns

  • (array) The data as inserted, including auto-incremented values, auto-sequence values, created/updated/inherit values, etc.

Description

Inserts one row to the model table and deletes cache entries.

See Also