MySQL search query container.
- Deprecated:
- See also
- \Magento\ElasticSearch
Definition at line 18 of file QueryContainer.php.
◆ __construct()
- Parameters
-
Definition at line 35 of file QueryContainer.php.
37 $this->matchContainerFactory = $matchContainerFactory;
◆ addMatchQuery()
addMatchQuery |
( |
Select |
$select, |
|
|
RequestQueryInterface |
$query, |
|
|
|
$conditionType |
|
) |
| |
Add query to select.
- Parameters
-
Select | $select | |
RequestQueryInterface | $query | |
string | $conditionType | |
- Returns
- Select
Definition at line 48 of file QueryContainer.php.
53 $container = $this->matchContainerFactory->create(
56 'conditionType' => $conditionType,
59 $name = self::DERIVED_QUERY_PREFIX . count($this->queries);
60 $this->queries[
$name] = $container;
if(!isset($_GET['name'])) $name
◆ getMatchQueries()
◆ DERIVED_QUERY_PREFIX
const DERIVED_QUERY_PREFIX = 'derived_' |
The documentation for this class was generated from the following file: