When running something like this:
$result = civicrm_api4('Event', 'get', [
'select' => ['id'],
'where' => [
['OR', [
['title', 'LIKE', $keyword],
['summary', 'LIKE', $keyword],
]
],
],
'checkPermissions' => false,
]);
Should the $keyword
variable be escaped or is it something done internally by the API?