Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Prado
Data
DataGateway
TTableGateway
insert
Prado\Data\DataGateway\TTableGateway::insert PHP Method
TTableGateway Class Documentation
Mostrar archivo
Open project: pradosoft/prado
insert()
public
method
Inserts a new record into the table. Each array key must correspond to a column name in the table unless a null value is permitted.
public
insert
(
$data
) :
mixed
return
mixed
last insert id if one column contains a serial or sequence, otherwise true if command executes successfully and affected 1 or more rows.
public function insert($data) { return $this->getCommand()->insert($data); }
TTableGateway
__call
__construct
count
deleteAll
deleteAllByPks
deleteByPk
find
findAll
findAllByPks
findAllBySql
findByPk
findBySql
getCommand
getCriteria
getDbConnection
getLastInsertId
getTableInfo
getTableName
initCommandBuilder
insert
onCreateCommand
onExecuteCommand
setTableInfo
setTableName
update