A class to build HAVING clauses.

package Peyote
author Dave Widmer

 Methods

Builds an AND HAVING clause.

andHaving(string $column, string $op, mixed $value) : \Peyote\Where

Parameters

$column

string

The column name

$op

string

The comparison operator

$value

mixed

The value to bind

Returns

Compiles the query into raw SQL

compile() : string
Inherited

inherited_from \Peyote\Condition::compile()

Returns

string

Gets all of the methods that should be passed as "mixin" methods.

getMethods() : array

Returns

array

Gets the list of bound parameters.

getParams() : array
Inherited

inherited_from \Peyote\Condition::getParams()

Returns

array

Gets the type of sorting query we are running.

getType() : string

Returns

string

Builds an OR HAVING clause.

orHaving(string $column, string $op, mixed $value) : \Peyote\Where

Parameters

$column

string

The column name

$op

string

The comparison operator

$value

mixed

The value to bind

Returns

 Properties

 

The order clauses.

$clauses : array
Inherited

inherited_from \Peyote\Condition::$$clauses
 

A list of bound parameters.

$params : array
Inherited

inherited_from \Peyote\Condition::$$params