FieldtypeOptions::getMatchQuery()

Update a database query for finding values from this Fieldtype

Usage

$databaseQuery = $fieldtypeOptions->getMatchQuery(PageFinderDatabaseQuerySelect $query, string $table, string $subfield, string $operator, mixed $value);

Arguments

NameType(s)Description
$queryPageFinderDatabaseQuerySelect
$tablestring
$subfieldstring
$operatorstring
$valuemixed

Return value

Exceptions

Method can throw exceptions on error:

  • WireException


FieldtypeOptions methods and properties

API reference based on ProcessWire core version 3.0.252