Метод |
Описание |
|
__construct ( $manager ) |
|
|
delete ( $statementName, $parameter = null ) : integer |
Executes a Sql DELETE statement. Delete returns the number of rows effected. |
|
flushCaches ( ) |
Flushes all cached objects that belong to this SqlMap |
|
getDbConnection ( ) : TDbConnection |
|
|
getSqlMapManager ( ) : TSqlMapManager |
|
|
insert ( $statementName, $parameter = null ) : mixed |
Executes a Sql INSERT statement. |
|
queryForList ( $statementName, $parameter = null, $result = null, $skip, $max ) : TList |
Executes a Sql SELECT statement that returns data to populate a number
of result objects. |
|
queryForMap ( $statementName, $parameter = null, $keyProperty = null, $valueProperty = null, $skip, $max ) : TMap |
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. |
|
queryForMapWithRowDelegate ( $statementName, $delegate, $parameter = null, $keyProperty = null, $valueProperty = null, $skip, $max ) : TMap |
Runs a query with a custom object that gets a chance to deal
with each row as it is processed. |
|
queryForObject ( $statementName, $parameter = null, $result = null ) : object |
Executes a Sql SELECT statement that returns that returns data
to populate a single object instance. |
|
queryForPagedList ( $statementName, $parameter = null, $pageSize = 10, $page ) : TPagedList |
Executes the SQL and retuns a subset of the results in a dynamic
TPagedList that can be used to automatically scroll through results
from a database table. |
|
queryForPagedListWithRowDelegate ( $statementName, $delegate, $parameter = null, $pageSize = 10, $page ) : TPagedList |
Executes the SQL and retuns a subset of the results in a dynamic
TPagedList that can be used to automatically scroll through results
from a database table. |
|
queryWithRowDelegate ( $statementName, $delegate, $parameter = null, $result = null, $skip, $max ) : TList |
Runs a query for list with a custom object that gets a chance to deal
with each row as it is processed. |
|
registerTypeHandler ( $typeHandler ) |
|
|
update ( $statementName, $parameter = null ) : integer |
Executes a Sql UPDATE statement. |
|