module documentation
Foundational utilities common to many sql modules.
Class |
|
Undocumented |
Class |
|
Collection of :class:`_expression.ColumnElement` instances, typically for :class:`_sql.FromClause` objects. |
Class |
|
Undocumented |
Class |
|
Produces additional object state necessary for a statement to be compiled. |
Class |
|
A :class:`_expression.ColumnCollection` that maintains deduplicating behavior. |
Class |
|
Establish the ability for a class to have dialect-specific arguments with defaults and constructor validation. |
Class |
|
Mark a :class:`_expression.ClauseElement` as supporting execution. |
Class |
|
No class docstring; 0/4 class variable, 1/1 method documented |
Class |
|
Provide a method-chaining pattern in conjunction with the @_generative decorator. |
Class |
|
A class that has a :class:`.CompileState` associated with it. |
Class |
|
mark a ClauseElement as 'immutable' when expressions are cloned. |
Class |
|
Provide a method-chaining pattern in conjunction with the @_generative decorator that mutates in place. |
Class |
|
A cacheable option dictionary with defaults. |
Class |
|
Undocumented |
Class |
|
Base class for elements that are the targets of :class:`.DDLEvents` events. |
Class |
|
Define the visiting for ``SchemaItem`` objects. |
Class |
|
Represent SQL constants like NULL, TRUE, FALSE |
Variable | coercions |
Undocumented |
Variable | elements |
Undocumented |
Variable | type |
Undocumented |
Class | _ |
Undocumented |
Class | _ |
A dictionary view of dialect-level arguments for a specific dialect. |
Class | _ |
A dictionary view of dialect-level arguments in the form <dialectname>_<argument_name>. |
Class | _ |
Undocumented |
Class | _ |
Undocumented |
Class | _ |
Undocumented |
Class | _ |
metaclass for the Options class. |
Class | _ |
Undocumented |
Class | _ |
No class docstring; 1/1 constant documented |
Function | _clone |
Undocumented |
Function | _cloned |
Undocumented |
Function | _cloned |
return the intersection of sets a and b, counting any overlap between 'cloned' predecessors. |
Function | _entity |
Return the nearest .entity_namespace for the given entity. |
Function | _entity |
Return an entry from an entity_namespace. |
Function | _exclusive |
Undocumented |
Function | _expand |
expand the given set of ClauseElements to be the set of all 'cloned' predecessors. |
Function | _from |
Undocumented |
Function | _generative |
non-caching _generative() decorator. |
Function | _is |
Undocumented |
Function | _kw |
Undocumented |
Function | _select |
expand tables into individual columns in the given list of column expressions. |
Type Variable | _COL |
Undocumented |
Type Variable | _ |
Undocumented |
Type Variable | _COLKEY |
Undocumented |
Type Variable | _ |
Undocumented |
Type Variable | _NAMEDCOL |
Undocumented |
Type Variable | _ |
Undocumented |
Type Variable | _ |
Undocumented |
Type Variable | _T |
Undocumented |
Type Alias | _ |
Undocumented |
return the intersection of sets a and b, counting any overlap between 'cloned' predecessors. The returned set is in terms of the entities present within 'a'.
def _entity_namespace(entity:
Union[ _HasEntityNamespace, ExternallyTraversible]
) -> _EntityNamespace
:
(source)
¶
Return the nearest .entity_namespace for the given entity. If not immediately available, does an iterate to find a sub-element that has one, if any.
def _entity_namespace_key(entity:
Union[ _HasEntityNamespace, ExternallyTraversible]
, key: str
, default: Union[ SQLCoreOperations[ Any], _NoArg]
= NO_ARG) -> SQLCoreOperations[ Any]
:
(source)
¶
Return an entry from an entity_namespace. Raises :class:`_exc.InvalidRequestError` rather than attribute error on not found.
def _from_objects(*elements:
Union[ ColumnElement[ Any], FromClause, TextClause, _JoinTargetElement]
) -> Iterator[ FromClause]
:
(source)
¶
Undocumented
non-caching _generative() decorator. This is basically the legacy decorator that copies the object and runs a method on the new copy.