Method |
Description |
|
__construct ( phpDataMapper_Adapter_Interface $adapter ) : string |
Constructor |
|
__toString ( ) |
Return Sql code with $this->sql() function |
|
andWhere ( array $conditions = [], $type = "AND" ) |
|
|
from ( string $table = null ) |
From |
|
getParameters ( ) |
Get array of parameters/binds to execute in a prepared statement |
|
group ( array $fields = [] ) |
GROUP BY columns |
|
limit ( $limit = 20, $offset = null ) |
LIMIT query or result set |
|
orWhere ( array $conditions = [], $type = "AND" ) |
|
|
order ( $fields = [] ) |
ORDER BY columns |
|
select ( mixed $fields = "*", string $table ) : string |
Called from mapper's select() function |
|
sql ( ) |
Get raw SQL code generated from other query builder functions |
|
where ( array $conditions = [], string $type = "AND", string $setType = "AND" ) |
WHERE conditions |
|