MCPcopy Create free account
hub / github.com/sqlalchemy/sqlalchemy / select

Method select

lib/sqlalchemy/sql/selectable.py:653–667  ·  view source on GitHub ↗

r"""Return a SELECT of this :class:`_expression.FromClause`. e.g.:: stmt = some_table.select().where(some_table.c.id == 5) .. seealso:: :func:`_expression.select` - general purpose method which allows for arbitrary column lists.

(self)

Source from the content-addressed store, hash-verified

651 _use_schema_map = False
652
653 def select(self) -> Select[Any]:
654 r"""Return a SELECT of this :class:`_expression.FromClause`.
655
656
657 e.g.::
658
659 stmt = some_table.select().where(some_table.c.id == 5)
660
661 .. seealso::
662
663 :func:`_expression.select` - general purpose
664 method which allows for arbitrary column lists.
665
666 """
667 return Select(self)
668
669 def join(
670 self,

Callers

nothing calls this directly

Calls 1

SelectClass · 0.85

Tested by

no test coverage detected