class documentation

class SelectState(util.MemoizedSlots, CompileState):

Known subclasses: sqlalchemy.orm.context.ORMSelectCompileState

View In Hierarchy

Undocumented

Class Method all​_selected​_columns Undocumented
Class Method determine​_last​_joined​_entity Undocumented
Class Method from​_statement Undocumented
Class Method get​_column​_descriptions Undocumented
Class Method get​_columns​_clause​_froms Undocumented
Class default​_select​_compile​_options Undocumented
Class Method ​_column​_naming​_convention Undocumented
Class Method ​_normalize​_froms given an iterable of things to select FROM, reduce them to what would actually render in the FROM clause of a SELECT.
Class Method ​_plugin​_not​_implemented Undocumented
Method __init__ Undocumented
Method ​_get​_display​_froms Return the full list of 'from' clauses to be displayed.
Method ​_get​_froms Undocumented
Method ​_join​_determine​_implicit​_left​_side When join conditions don't express the left side explicitly, determine if an existing FROM or entity in this query can serve as the left hand side.
Method ​_join​_place​_explicit​_left​_side Undocumented
Method ​_memoized​_attr​_​_label​_resolve​_dict Undocumented
Method ​_setup​_joins Undocumented
Class Variable __slots__ Undocumented
Instance Variable columns​_plus​_names Undocumented
Instance Variable from​_clauses Undocumented
Instance Variable froms Undocumented
Instance Variable statement Undocumented

Inherited from MemoizedSlots:

Method __getattr__ Undocumented
Method ​_fallback​_getattr Undocumented

Inherited from CompileState:

Class Method create​_for​_statement Undocumented
Class Method get​_plugin​_class Undocumented
Class Method plugin​_for Undocumented
Class Method ​_get​_plugin​_class​_for​_plugin Undocumented
Class Variable plugins Undocumented
@classmethod
def all_selected_columns(cls, statement):
@classmethod
def determine_last_joined_entity(cls, stmt):
@classmethod
def from_statement(cls, statement, from_statement):
@classmethod
def get_column_descriptions(cls, statement):

Undocumented

@classmethod
def get_columns_clause_froms(cls, statement):
@classmethod
def _column_naming_convention(cls, label_style):

Undocumented

@classmethod
def _normalize_froms(cls, iterable_of_froms, check_statement=None):

given an iterable of things to select FROM, reduce them to what would actually render in the FROM clause of a SELECT.

This does the job of checking for JOINs, tables, etc. that are in fact overlapping due to cloning, adaption, present in overlapping joins, etc.

@classmethod
def _plugin_not_implemented(cls):

Undocumented

def __init__(self, statement, compiler, **kw):
def _get_display_froms(self, explicit_correlate_froms=None, implicit_correlate_froms=None):

Return the full list of 'from' clauses to be displayed.

Takes into account a set of existing froms which may be rendered in the FROM clause of enclosing selects; this Select may want to leave those absent if it is automatically correlating.

def _get_froms(self, statement):

Undocumented

@util.preload_module('sqlalchemy.sql.util')
def _join_determine_implicit_left_side(self, raw_columns, left, right, onclause):
When join conditions don't express the left side explicitly, determine if an existing FROM or entity in this query can serve as the left hand side.
@util.preload_module('sqlalchemy.sql.util')
def _join_place_explicit_left_side(self, left):
def _memoized_attr__label_resolve_dict(self):

Undocumented

def _setup_joins(self, args, raw_columns):

Undocumented

__slots__: tuple[str, ...] =
columns_plus_names =

Undocumented

from_clauses =
froms =

Undocumented