@@ -14,27 +14,28 @@ from ...sql.elements import ClauseElement
14
14
from ...sql .elements import ColumnElement
15
15
from ...sql .functions import GenericFunction
16
16
17
-
18
17
class Insert (StandardInsert ):
19
18
stringify_dialect : str = ...
20
19
@util .memoized_property
21
20
def excluded (self ): ...
22
-
23
21
def on_conflict_do_update (
24
22
self ,
25
- constraint : Optional [Union [str , Index , Constraint , ExcludeConstraint ]] = ...,
23
+ constraint : Optional [
24
+ Union [str , Index , Constraint , ExcludeConstraint ]
25
+ ] = ...,
26
26
index_elements : Sequence [Union [str , Column ]] = ...,
27
27
index_where : Optional [ClauseElement ] = ...,
28
28
set_ : Mapping [str , Union [ColumnElement , GenericFunction ]] = ...,
29
29
where : Optional [ClauseElement ] = ...,
30
- ) -> 'Insert' : ...
31
-
30
+ ) -> "Insert" : ...
32
31
def on_conflict_do_nothing (
33
32
self ,
34
- constraint : Optional [Union [str , Index , Constraint , ExcludeConstraint ]] = ...,
33
+ constraint : Optional [
34
+ Union [str , Index , Constraint , ExcludeConstraint ]
35
+ ] = ...,
35
36
index_elements : Optional [Sequence [Union [str , Column ]]] = ...,
36
37
index_where : Optional [Any ] = ...,
37
- ) -> ' Index' : ...
38
+ ) -> " Index" : ...
38
39
39
40
insert : Any
40
41
@@ -45,7 +46,9 @@ class OnConflictClause(ClauseElement):
45
46
inferred_target_whereclause : Any = ...
46
47
def __init__ (
47
48
self ,
48
- constraint : Optional [Union [str , Index , Constraint , ExcludeConstraint ]] = ...,
49
+ constraint : Optional [
50
+ Union [str , Index , Constraint , ExcludeConstraint ]
51
+ ] = ...,
49
52
index_elements : Optional [Sequence [Union [str , Column ]]] = ...,
50
53
index_where : Optional [Any ] = ...,
51
54
) -> None : ...
@@ -59,7 +62,9 @@ class OnConflictDoUpdate(OnConflictClause):
59
62
update_whereclause : Any = ...
60
63
def __init__ (
61
64
self ,
62
- constraint : Optional [Union [str , Index , Constraint , ExcludeConstraint ]] = ...,
65
+ constraint : Optional [
66
+ Union [str , Index , Constraint , ExcludeConstraint ]
67
+ ] = ...,
63
68
index_elements : Optional [Sequence [Union [str , Column ]]] = ...,
64
69
index_where : Optional [Any ] = ...,
65
70
set_ : Mapping [str , Union [ColumnElement , GenericFunction ]] = ...,
0 commit comments