QBLogicalCondition
Last updated
Last updated
Logical clause for a query; conditions can be added by name.
Type | Name | Summary |
---|---|---|
Type | Name | Summary |
---|---|---|
Get the names for the conditions in the logical condition.
Type Array
Sample
Get query builder parent table clause, this may be a query or a join clause.
Type QBTableClause
Sample
Get query builder parent.
Type QBSelect
Sample
Add a condition to the AND or OR condition list.
Parameters
QBCondition condition the condition to add
Returns: QBLogicalCondition
Sample
Add a named condition to the logical condition.
Parameters
String name the name of the condition
QBCondition condition the condition to add
Returns: QBLogicalCondition
Sample
Clear the conditions in the logical condition.
Returns: QBLogicalCondition
Sample
Get a named condition in the logical condition.
Parameters
String name The condition name.
Returns: QBLogicalCondition
Sample
Remove a named condition from the logical condition.
Parameters
String name The condition name.
Returns: QBLogicalCondition
Sample
Get the names for the conditions in the logical condition.
Get query builder parent table clause, this may be a query or a join clause.
Get query builder parent.
Add a condition to the AND or OR condition list.
Add a named condition to the logical condition.
Clear the conditions in the logical condition.
Get a named condition in the logical condition.
Remove a named condition from the logical condition.