opaleye-0.7.3.0: An SQL-generating DSL targeting PostgreSQL
Safe HaskellNone
LanguageHaskell2010

Opaleye.Exists

Synopsis

Documentation

exists :: Select a -> Select (Field SqlBool) Source #

True if any rows are returned by the given query, false otherwise.

This operation is equivalent to Postgres's EXISTS operator.