FileSearchQuery

Represents an SQL query to search for files.

Acts as facade to a QueryBuilder and comes with factory methods to preconfigure the query for a search demand.

Table of Contents

Methods

__construct()  : mixed
additionalRestriction()  : void
Limit the result set of identifiers, by adding further SQL restrictions.
createCountForSearchDemand()  : FileSearchQuery
Prepares a query based on a search demand to be used to count rows.
createForSearchDemand()  : FileSearchQuery
Prepares a query based on a search demand to be used to fetch rows.
execute()  : Result

Methods

additionalRestriction()

Limit the result set of identifiers, by adding further SQL restrictions.

public additionalRestriction(QueryRestrictionInterface $additionalRestriction) : void

Note that no further restrictions can be added once result is initialized, by starting the iteration over the result. Can be accessed by subclasses to add further restrictions to the query.

Parameters
$additionalRestriction : QueryRestrictionInterface
Tags
throws
RuntimeException

execute()

public execute() : Result
Return values
Result

        
On this page

Search results