Opaleye.Exists
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.
EXISTS