blob: 7070277f14f37890ca771d047e58f71ccb17ed3e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
Insert, Updates, Deletes
========================
INSERT, UPDATE and DELETE statements build on a hierarchy starting
with :class:`.UpdateBase`. The :class:`_expression.Insert` and :class:`_expression.Update`
constructs build on the intermediary :class:`.ValuesBase`.
.. currentmodule:: sqlalchemy.sql.expression
.. _dml_foundational_consructors:
DML Foundational Constructors
--------------------------------------
Top level "INSERT", "UPDATE", "DELETE" constructors.
.. autofunction:: delete
.. autofunction:: insert
.. autofunction:: update
DML Class Documentation Constructors
--------------------------------------
Class documentation for the constructors listed at
:ref:`dml_foundational_consructors`.
.. autoclass:: Delete
:members:
.. automethod:: Delete.where
.. automethod:: Delete.returning
.. autoclass:: Insert
:members:
.. automethod:: Insert.values
.. automethod:: Insert.returning
.. autoclass:: Update
:members:
.. automethod:: Update.returning
.. automethod:: Update.where
.. automethod:: Update.values
.. autoclass:: sqlalchemy.sql.expression.UpdateBase
:members:
.. autoclass:: sqlalchemy.sql.expression.ValuesBase
:members:
|