Documentation

ISelectStatement extends IStatement

Tags
author

Ramone Burrell ramone@ramoneburrell.com

since

Version 0.1.0

Table of Contents

Constants

MODIFIER_ALL  = 1
MODIFIER_DISTINCT  = 2
MODIFIER_DISTINCT_ROW  = 2
MODIFIER_HIGH_PRIORITY  = 4
MODIFIER_SQL_BIG_RESULT  = 32
MODIFIER_SQL_BUFFER_RESULT  = 64
MODIFIER_SQL_CALC_FOUND_ROWS  = 128
MODIFIER_SQL_SMALL_RESULT  = 16
MODIFIER_STRAIGHT_JOIN  = 8

Methods

addGroupBy()  : mixed
addOrderBy()  : mixed
addSelectColumn()  : mixed
andHaving()  : mixed
andWhere()  : mixed
getFromClause()  : IFromClause
getGroupByClause()  : IGroupByClause
getHavingClause()  : IHavingClause
getLimitClause()  : ILimitClause
getOrderByClause()  : IOrderByClause
getSelectClause()  : ISelectClause
getWhereClause()  : IWhereClause
groupBy()  : mixed
having()  : mixed
limit()  : mixed
orderBy()  : mixed
orHaving()  : mixed
orWhere()  : mixed
where()  : ISelectStatement

Constants

Methods

addGroupBy()

public addGroupBy(array<string|int, mixed> $group_by) : mixed
Parameters
$group_by : array<string|int, mixed>

addOrderBy()

public addOrderBy(string $field[, int $order = IOrderByClause::ORDER_ASC ]) : mixed
Parameters
$field : string
$order : int = IOrderByClause::ORDER_ASC

addSelectColumn()

public addSelectColumn(string $column[, string $alias = null ]) : mixed
Parameters
$column : string
$alias : string = null

andWhere()

public andWhere(array<string|int, mixed>|callable $where) : mixed
Parameters
$where : array<string|int, mixed>|callable

groupBy()

public groupBy(array<string|int, mixed> $group_by) : mixed
Parameters
$group_by : array<string|int, mixed>

limit()

public limit(int|array<string|int, mixed> $limit) : mixed
Parameters
$limit : int|array<string|int, mixed>

orderBy()

public orderBy(string $field[, int $order = IOrderByClause::ORDER_ASC ]) : mixed
Parameters
$field : string
$order : int = IOrderByClause::ORDER_ASC

orWhere()

public orWhere(array<string|int, mixed>|callable $where) : mixed
Parameters
$where : array<string|int, mixed>|callable

        
On this page

Search results