Determines if the provided comparison operator is a valid operator that can be used within the where clause.
where
isValidOperator(?string $operator): bool
operator (string) : The comparison operator to validate.
(bool) : Returns true if valid and false if invalid.
true
false
$db->isValidOperator('=') = true $db->isValidOperator('>') = true $db->isValidOperator('!') = false
getValidOperator
Home | CoreyDB | Validation
There was an error while loading. Please reload this page.