Method |
Description |
|
__construct ( Mapper $mapper, $entityName ) : string |
Constructor |
|
andWhere ( array $conditions = [], $type = "AND" ) |
|
|
from ( string $table = null ) |
From |
|
group ( array $fields = [] ) |
GROUP BY columns |
|
having ( array $having = [] ) |
HAVING query or result set |
|
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 |
|
where ( array $conditions = [], string $type = "AND", string $setType = "AND" ) |
WHERE conditions |
|