PHP 인터페이스 Prado\Data\SqlMap\Statements\IMappedStatement

부터: 3.1
파일 보기 프로젝트 열기: pradosoft/prado 0 사용 예제들

공개 메소드들

메소드 설명
executeQueryForList ( $connection, $parameter, $result = null, $skip, $max ) : TList Executes the SQL and retuns a subset of the rows selected.
executeQueryForMap ( $connection, $parameter, $keyProperty, $valueProperty = null ) : 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.
executeQueryForObject ( $connection, $parameter, $result = null ) : object Executes an SQL statement that returns a single row as an object of the type of the $result passed in as a parameter.
executeUpdate ( $connection, $parameter ) : integer Execute an update statement. Also used for delete statement. Return the number of row effected.
getID ( ) : string
getManager ( ) : TSqlMap
getStatement ( ) : TSqlMapStatement

메소드 상세

executeQueryForList() 공개 메소드

Executes the SQL and retuns a subset of the rows selected.
public executeQueryForList ( $connection, $parameter, $result = null, $skip, $max ) : TList
리턴 TList A TList of result objects.

executeQueryForMap() 공개 메소드

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 executeQueryForMap ( $connection, $parameter, $keyProperty, $valueProperty = null ) : TMap
리턴 TMap A map of object containing the rows keyed by $keyProperty.

executeQueryForObject() 공개 메소드

Executes an SQL statement that returns a single row as an object of the type of the $result passed in as a parameter.
public executeQueryForObject ( $connection, $parameter, $result = null ) : object
리턴 object result.

executeUpdate() 공개 메소드

Execute an update statement. Also used for delete statement. Return the number of row effected.
public executeUpdate ( $connection, $parameter ) : integer
리턴 integer The number of row effected.

getID() 공개 메소드

public getID ( ) : string
리턴 string Name used to identify the MappedStatement amongst the others.

getManager() 공개 메소드

public getManager ( ) : TSqlMap
리턴 TSqlMap The TSqlMap used by this TMappedStatement

getStatement() 공개 메소드

public getStatement ( ) : TSqlMapStatement
리턴 TSqlMapStatement The SQL statment used by this TMappedStatement.