ICompositeExpression

interface OCP\DB\QueryBuilder\ICompositeExpression
This class provides a wrapper around Doctrine’s CompositeExpression
Implemented by:OC\DB\QueryBuilder\CompositeExpression
Source:lib/public/DB/QueryBuilder/ICompositeExpression.php#31

Methods

public OCP\DB\QueryBuilder\ICompositeExpression::addMultiple($parts=[])
Adds multiple parts to composite expression.
Source:

lib/public/DB/QueryBuilder/ICompositeExpression.php#40

Parameters:
  • $parts (array)
Returns:

\OCP\DB\QueryBuilder\ICompositeExpression

Since:

8.2.0

public OCP\DB\QueryBuilder\ICompositeExpression::add($part)
Adds an expression to composite expression.
Source:

lib/public/DB/QueryBuilder/ICompositeExpression.php#50

Parameters:
  • $part (mixed)
Returns:

\OCP\DB\QueryBuilder\ICompositeExpression

Since:

8.2.0

public OCP\DB\QueryBuilder\ICompositeExpression::count()
Retrieves the amount of expressions on composite expression.
Source:lib/public/DB/QueryBuilder/ICompositeExpression.php#58
Returns:int
Since:8.2.0
public OCP\DB\QueryBuilder\ICompositeExpression::getType()
Returns the type of this composite expression (AND/OR).
Source:lib/public/DB/QueryBuilder/ICompositeExpression.php#66
Returns:string
Since:8.2.0