There was an error while loading. Please reload this page.
If you want to write the SQL clausule. Free to make conditions.
public function where(string $sql): self;
PHP's way:
$repository->where("user_id IS NULL OR name LIKE 'Mary%'");
SQL's Representation:
WHERE user IS NULL OR name LIKE 'Mary%';
🡄 Right Join | Is Equal To Or Not 🡆
Home