Support for \Drupal\Core\Database\Query\SelectInterface $query
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3132728. -->
Reported by: [khaldoon_masud](https://www.drupal.org/user/1991766)
Related to !35
>>>
<p>I am creating a custom resource. I want to be able to join other tables in my query so I need to use "\Drupal\Core\Database\Query\SelectInterface $query" cause "Drupal\Core\Entity\Query\QueryInterface $query" doesn't have join clause or either return multiple columns. </p>
<p>All the query methods implemented by this module require "\Drupal\Core\Entity\Query\QueryInterface $query" object.<br>
$data = $this->loadResourceObjectDataFromEntityQuery($query, $cacheability);<br>
$paginator = $this->getPaginatorForRequest($request);<br>
$paginator->applyToQuery($query, $cacheability);</p>
issue