PHP Class Prado\Data\Common\Oracle\TOracleCommandBuilder

Since: 3.1
Inheritance: extends Prado\Data\Common\TDbCommandBuilder
Datei anzeigen Open project: pradosoft/prado

Public Methods

Method Description
applyLimitOffset ( $sql, $limit, $offset ) : string Overrides parent implementation to use Oracle way of get paginated RecordSet instead of using LIMIT sql clause.
getSearchExpression ( $fields, $keywords ) : string Overrides parent implementation. Only column of type text or character (and its variants) accepts the LIKE criteria.

Protected Methods

Method Description
isSearchableColumn ( $column ) : boolean

Method Details

applyLimitOffset() public method

Overrides parent implementation to use Oracle way of get paginated RecordSet instead of using LIMIT sql clause.
public applyLimitOffset ( $sql, $limit, $offset ) : string
return string SQL with limit and offset in Oracle way.

getSearchExpression() public method

Overrides parent implementation. Only column of type text or character (and its variants) accepts the LIKE criteria.
public getSearchExpression ( $fields, $keywords ) : string
return string SQL search condition matching on a set of columns.

isSearchableColumn() protected method

protected isSearchableColumn ( $column ) : boolean
return boolean true if column can be used for LIKE searching.