r"""Return a SELECT of this :class:`_expression.Exists`. e.g.:: stmt = exists(some_table.c.id).where(some_table.c.id == 5).select() This will produce a statement resembling: .. sourcecode:: sql SELECT EXISTS (SELECT id FROM some_table WHERE some_t
(self)
| 7242 | return return_value |
| 7243 | |
| 7244 | def select(self) -> Select[bool]: |
| 7245 | r"""Return a SELECT of this :class:`_expression.Exists`. |
| 7246 | |
| 7247 | e.g.:: |
| 7248 | |
| 7249 | stmt = exists(some_table.c.id).where(some_table.c.id == 5).select() |
| 7250 | |
| 7251 | This will produce a statement resembling: |
| 7252 | |
| 7253 | .. sourcecode:: sql |
| 7254 | |
| 7255 | SELECT EXISTS (SELECT id FROM some_table WHERE some_table = :param) AS anon_1 |
| 7256 | |
| 7257 | .. seealso:: |
| 7258 | |
| 7259 | :func:`_expression.select` - general purpose |
| 7260 | method which allows for arbitrary column lists. |
| 7261 | |
| 7262 | """ # noqa |
| 7263 | |
| 7264 | return Select(self) |
| 7265 | |
| 7266 | def correlate( |
| 7267 | self, |