Anyone has an example that shows how I filter an entity by one specific team?
I got "SelectManager::checkWhere: Complex expressions are forbidden" error message.
I found some "where" examples, but only with entity fields, nothing about relationships.
Thanks
$where = [
[
'type' => 'equals',
'attribute' => 'teams.name',
'value' => 'The A Team',
],
];
$response = $client->request('GET', 'Users', ['where' => $where]);
[
'type' => 'equals',
'attribute' => 'teams.name',
'value' => 'The A Team',
],
];
$response = $client->request('GET', 'Users', ['where' => $where]);
I found some "where" examples, but only with entity fields, nothing about relationships.
Thanks
Comment