Class \Prado\Data\SqlMap\Statements\TUpdateMappedStatement
TUpdateMappedStatement class.
Class hierarchy
- \Prado\Data\SqlMap\Statements\TUpdateMappedStatement
- \Prado\Data\SqlMap\Statements\TMappedStatement implements IMappedStatement
- \Prado\TComponent
Since: 3.1
public
|
executeInsert(mixed $connection, mixed $parameter) : string
Execute an insert statement. Fill the parameter object with the ouput
parameters if any, also could return the insert generated key.
|
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.
|