Class \Prado\Data\SqlMap\Statements\TInsertMappedStatement
TInsertMappedStatement class.
Class hierarchy
- \Prado\Data\SqlMap\Statements\TInsertMappedStatement
- \Prado\Data\SqlMap\Statements\TMappedStatement implements IMappedStatement
- \Prado\TComponent
Since: 3.1
public
|
executeQueryForList(mixed $connection, mixed $parameter[, mixed $result = null ][, mixed $skip = -1 ][, mixed $max = -1 ][, mixed $delegate = null ]) : array<string|int, mixed>
Executes the SQL and retuns a List of result objects.
|
public
|
executeQueryForMap(mixed $connection, mixed $parameter, mixed $keyProperty[, mixed $valueProperty = null ][, mixed $skip = -1 ][, mixed $max = -1 ][, mixed $delegate = null ]) : array<string|int, mixed>
Executes the SQL and retuns all rows selected in a map that is keyed on
the property named in the keyProperty parameter. The value at each key
will be the value of the property specified in the valueProperty parameter.
If valueProperty is null, the entire result object will be entered. |
public
|
executeQueryForObject(mixed $connection, mixed $parameter[, mixed $result = null ]) : object
Executes an SQL statement that returns a single row as an object of the
type of the <tt>$result</tt> passed in as a parameter.
|
public
|
executeUpdate(mixed $connection, mixed $parameter) : int
Execute an update statement. Also used for delete statement.
Return the number of rows effected. |