Méthode |
Description |
|
contains ( string $propertyName, mixed $operand ) : object |
Returns a "contains" criterion used for matching objects against a query. |
|
count ( ) : integer |
Returns the query result count. |
|
equals ( string $propertyName, mixed $operand, boolean $caseSensitive = true ) : object |
Returns an equals criterion used for matching objects against a query. |
|
execute ( boolean $cacheResult = false ) : Neos\Flow\Persistence\QueryResultInterface |
Executes the query and returns the result. |
|
getConstraint ( ) : mixed |
Gets the constraint for this query. |
|
getLimit ( ) |
Returns the maximum size of the result set to limit. |
|
getOffset ( ) : integer |
Returns the start offset of the result set. |
|
getOrderings ( ) : array |
Gets the property names to order the result by, like this:
array(
'foo' => \Neos\Flow\Persistence\QueryInterface::ORDER_ASCENDING,
'bar' => \Neos\Flow\Persistence\QueryInterface::ORDER_DESCENDING
) |
|
getType ( ) : string |
Returns the type this query cares for. |
|
greaterThan ( string $propertyName, mixed $operand ) : object |
Returns a greater than criterion used for matching objects against a query |
|
greaterThanOrEqual ( string $propertyName, mixed $operand ) : object |
Returns a greater than or equal criterion used for matching objects against a query |
|
in ( string $propertyName, mixed $operand ) : object |
Returns an "in" criterion used for matching objects against a query. It
matches if the property's value is contained in the multivalued operand. |
|
isDistinct ( ) : boolean |
Returns the DISTINCT flag for this query. |
|
isEmpty ( string $propertyName ) : boolean |
Returns an "isEmpty" criterion used for matching objects against a query. |
|
lessThan ( string $propertyName, mixed $operand ) : object |
Returns a less than criterion used for matching objects against a query |
|
lessThanOrEqual ( string $propertyName, mixed $operand ) : object |
Returns a less or equal than criterion used for matching objects against a query |
|
like ( string $propertyName, string $operand, boolean $caseSensitive = true ) : object |
Returns a like criterion used for matching objects against a query. |
|
logicalAnd ( mixed $constraint1 ) : object |
Performs a logical conjunction of the two given constraints. The method
takes one or more constraints and concatenates them with a boolean AND. |
|
logicalNot ( object $constraint ) : object |
Performs a logical negation of the given constraint |
|
logicalOr ( mixed $constraint1 ) : object |
Performs a logical disjunction of the two given constraints. The method
takes one or more constraints and concatenates them with a boolean OR. |
|
matching ( object $constraint ) : Neos\Flow\Persistence\QueryInterface |
The constraint used to limit the result set. Returns $this to allow
for chaining (fluid interface). |
|
setDistinct ( boolean $distinct = true ) : Neos\Flow\Persistence\QueryInterface |
Sets the DISTINCT flag for this query. |
|
setLimit ( integer $limit ) : Neos\Flow\Persistence\QueryInterface |
Sets the maximum size of the result set to limit. Returns $this to allow
for chaining (fluid interface). |
|
setOffset ( integer $offset ) : Neos\Flow\Persistence\QueryInterface |
Sets the start offset of the result set to offset. Returns $this to
allow for chaining (fluid interface). |
|
setOrderings ( array $orderings ) : Neos\Flow\Persistence\QueryInterface |
Sets the property names to order the result by. Expected like this:
array(
'foo' => \Neos\Flow\Persistence\QueryInterface::ORDER_ASCENDING,
'bar' => \Neos\Flow\Persistence\QueryInterface::ORDER_DESCENDING
) |
|