Replies: 1 comment 1 reply
-
/** @var DriverInterface $driver */
$result = $driver->query(
'SELECT EXISTS (SELECT 1 FROM users WHERE email = :email AND deleted_at IS NULL)',
['email' => 'foo@bar']
); |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mayken
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Query: SELECT EXISTS (SELECT 1 FROM users WHERE email = :email AND deleted_at IS NULL)
Beta Was this translation helpful? Give feedback.
All reactions