|
Previous Page |
Solar_Model_Tags |
Next Page |
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
Local
- Overview
- Constants
- Properties
- Methods
- __call()
- __construct()
- __destruct()
- __get()
- _addFilter()
- _addRelated()
- _belongsTo()
- _createTableAndIndexes()
- _exception()
- _fetchResultSelect()
- _fixCache()
- _fixFilters()
- _fixIndex()
- _fixModelName()
- _fixOrder()
- _fixPropertyCols()
- _fixStack()
- _fixTableCols()
- _fixTableName()
- _hasMany()
- _hasOne()
- _setCollectionPagerInfo()
- _setup()
- apiVersion()
- countPages()
- delete()
- dump()
- fetch()
- fetchAll()
- fetchAllByOwnerHandle()
- fetchAllWithCount()
- fetchArray()
- fetchAssoc()
- fetchCol()
- fetchNew()
- fetchOne()
- fetchPairs()
- fetchValue()
- fixSelectParams()
- free()
- getPaging()
- getRelated()
- insert()
- locale()
- newCollection()
- newRecord()
- newSelect()
- serializeCols()
- setPaging()
- unserializeCols()
- update()