Skip to main content

Module conflict

Module conflict 

Source

Structs§

SqlConflictInsertFact
SqlInsertSourceShape
SqlPinnedJoinEquality
An equality between columns of two distinct relations in a pinned source.
SqlPinnedRelation
A plain relation and its columns equated to constants in top-level WHERE / ON conjuncts.
SqlPinnedSource
One or more inner-joined plain relations with constant pins and column join equalities.
SqlSourceRelation
A relation in the source FROM clause; columns is None when its columns are unknown (a plain table, whose columns only the database knows).

Enums§

SqlConflictTarget

Functions§

analyze_conflict_inserts
analyze_conflict_inserts_with_binds
binds are the (line, column) positions of identifiers recovered from template interpolations; only those identifiers count as bound values.
expression_is_constant
Whether expression is a literal or bound parameter (possibly cast), so it has the same value in every row and cannot change the order of rows.