CompositeExpression¶
-
class
OC\DB\QueryBuilder\
CompositeExpression
¶ Source: lib/private/DB/QueryBuilder/CompositeExpression.php#28 Implements: OCP\DB\QueryBuilder\ICompositeExpression
Countable
Properties¶
-
protected static property
OC\DB\QueryBuilder\CompositeExpression::$
compositeExpression
¶ Source: lib/private/DB/QueryBuilder/CompositeExpression.php#30 Type: \Doctrine\DBAL\Query\Expression\CompositeExpression
Methods¶
-
public
OC\DB\QueryBuilder\CompositeExpression::
__construct
($compositeExpression)¶ - Constructor.
Source: Parameters: - $compositeExpression (
Doctrine\DBAL\Query\Expression\CompositeExpression
)
- $compositeExpression (
-
public
OC\DB\QueryBuilder\CompositeExpression::
addMultiple
($parts=[])¶ - Adds multiple parts to composite expression.
Source: Parameters: - $parts (array)
Returns:
-
public
OC\DB\QueryBuilder\CompositeExpression::
add
($part)¶ - Adds an expression to composite expression.
Source: Parameters: - $part (mixed)
Returns:
-
public
OC\DB\QueryBuilder\CompositeExpression::
count
()¶ - Retrieves the amount of expressions on composite expression.
Source: lib/private/DB/QueryBuilder/CompositeExpression.php#72 Returns: int
-
public
OC\DB\QueryBuilder\CompositeExpression::
getType
()¶ - Returns the type of this composite expression (AND/OR).
Source: lib/private/DB/QueryBuilder/CompositeExpression.php#81 Returns: string
-
public
OC\DB\QueryBuilder\CompositeExpression::
__toString
()¶ - Retrieves the string representation of this composite expression.
Source: lib/private/DB/QueryBuilder/CompositeExpression.php#90 Returns: string