Functions used by compiler.py to determine the parameters rendered within INSERT and UPDATE statements.
Constant | REQUIRED |
Undocumented |
Class | _ |
Undocumented |
Class | _multiparam |
Undocumented |
Function | _append |
Undocumented |
Function | _append |
Create a primary key expression in the INSERT statement where we want to populate result.inserted_primary_key and we cannot use RETURNING. |
Function | _append |
Create a primary key expression in the INSERT statement where we want to populate result.inserted_primary_key and RETURNING is available. |
Function | _append |
Undocumented |
Function | _append |
Undocumented |
Function | _append |
Undocumented |
Function | _as |
Undocumented |
Function | _create |
Undocumented |
Function | _create |
Undocumented |
Function | _create |
Undocumented |
Function | _extend |
Undocumented |
Function | _get |
create a set of tuples representing column/string pairs for use in an INSERT or UPDATE statement. |
Function | _get |
determines RETURNING strategy, if any, for the statement. |
Function | _get |
Undocumented |
Function | _get |
Undocumented |
Function | _handle |
Undocumented |
Function | _key |
Undocumented |
Function | _process |
Undocumented |
Function | _scan |
Undocumented |
Function | _scan |
Undocumented |
Function | _setup |
Undocumented |
Function | _warn |
Undocumented |
Type Alias | _ |
Undocumented |
Type Alias | _ |
Undocumented |
Type Alias | _ |
Undocumented |
Type Alias | _ |
Undocumented |
Undocumented
Value |
|
Undocumented
Create a primary key expression in the INSERT statement where we want to populate result.inserted_primary_key and we cannot use RETURNING. Depending on the kind of default here we may create a bound parameter in the INSERT statement and pre-execute a default generation function, or we may use cursor.lastrowid if supported by the dialect.
Create a primary key expression in the INSERT statement where we want to populate result.inserted_primary_key and RETURNING is available.
SQLCompiler
, stmt: ValuesBase
, c: ColumnClause[ Any]
, values: List[ _CrudParamElementSQLExpr]
, kw: Dict[ str, Any]
):
(source)
¶
Undocumented
Undocumented
Undocumented
SQLCompiler
, col: ColumnElement[ Any]
, value: Any
, process: Literal[ True]
= ..., required: bool
= False, name: Optional[ str]
= None, **kw: Any
) -> str
:SQLCompiler
, col: ColumnElement[ Any]
, value: Any
, **kw: Any
) -> str
:Undocumented
SQLCompiler
, c: ColumnElement[ Any]
, process: Literal[ True]
= ..., **kw: Any
) -> str
:SQLCompiler
, c: ColumnElement[ Any]
, process: Literal[ False]
, **kw: Any
) -> elements.BindParameter[ Any]
:Undocumented
SQLCompiler
, c: ColumnElement[ Any]
, process: Literal[ True]
= ..., **kw: Any
) -> str
:SQLCompiler
, c: ColumnElement[ Any]
, process: Literal[ False]
, **kw: Any
) -> elements.BindParameter[ Any]
:Undocumented
SQLCompiler
, stmt: ValuesBase
, compile_state: DMLState
, initial_values: Sequence[ _CrudParamElementStr]
, _column_as_key: Callable[ ..., str]
, kw: Dict[ str, Any]
) -> List[ Sequence[ _CrudParamElementStr]]
:
(source)
¶
Undocumented
SQLCompiler
, stmt: ValuesBase
, compile_state: DMLState
, toplevel: bool
, **kw: Any
) -> _CrudParams
:
(source)
¶
create a set of tuples representing column/string pairs for use in an INSERT or UPDATE statement. Also generates the Compiled object's postfetch, prefetch, and returning column collections, used for default handling and ultimately populating the CursorResult's prefetch_cols() and postfetch_cols() collections.
determines RETURNING strategy, if any, for the statement. This is where it's determined what we need to fetch from the INSERT or UPDATE statement after it's invoked.
Undocumented
Undocumented
SQLCompiler
, stmt: ValuesBase
, compile_state: DMLState
) -> Tuple[ Callable[ [ Union[ str, ColumnClause[ Any]]], Union[ str, Tuple[ str, str]]], Callable[ [ ColumnClause[ Any]], Union[ str, Tuple[ str, str]]], _BindNameForColProtocol]
:
(source)
¶
Undocumented
SQLCompiler
, stmt: ValuesBase
, c: KeyedColumnElement[ Any]
, index: int
, kw: Dict[ str, Any]
) -> str
:
(source)
¶
Undocumented
Undocumented
Undocumented
Undocumented