$_operator
$_operator : string
Operator
The where structure of an sql statement
__construct(string $operator = 'AND') : \Fuman_Db_Where
Constructor
| string | $operator | AND|OR |
addExpression(string $expression, \Fuman_Db_Parameters $parameters = null)
Add expression (like [id]=1)
| string | $expression | |
| \Fuman_Db_Parameters | $parameters |
add(\Fuman_Db_Where|null $where = null) : void
Adds where statement
| \Fuman_Db_Where|null | $where |
remove(\Fuman_Db_Where $where) : boolean
Removes a object from the statements container
| \Fuman_Db_Where | $where |
getStatement(\Fuman_Table $table, \Fuman_Db_Parameters $parameters, string|null $alias = null) : string
Returns a where String.
Note: String does not contain 'WHERE'
| \Fuman_Table | $table | |
| \Fuman_Db_Parameters | $parameters | |
| string|null | $alias |
create(string $operator, string $columnName, string|integer|null $value, string $columnOperator = '') : \Fuman_Db_Where
Builds a new Fuman_Db_Where Instance
| string | $operator | |
| string | $columnName | |
| string|integer|null | $value | |
| string | $columnOperator |
addFrom(\Fuman_Db_Where $where)
| \Fuman_Db_Where | $where |