File: orm_helpers.rst

package info (click to toggle)
python-sqlalchemy-utils 0.42.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,236 kB
  • sloc: python: 13,002; makefile: 20
file content (110 lines) | stat: -rw-r--r-- 1,644 bytes parent folder | download
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
ORM helpers
===========


cast_if
-------

.. autofunction:: sqlalchemy_utils.functions.cast_if


escape_like
-----------

.. autofunction:: sqlalchemy_utils.functions.escape_like


get_bind
--------

.. autofunction:: sqlalchemy_utils.functions.get_bind


get_class_by_table
------------------

.. autofunction:: sqlalchemy_utils.functions.get_class_by_table


get_column_key
--------------

.. autofunction:: sqlalchemy_utils.functions.get_column_key


get_columns
-----------

.. autofunction:: sqlalchemy_utils.functions.get_columns


get_declarative_base
--------------------

.. autofunction:: sqlalchemy_utils.functions.get_declarative_base


get_hybrid_properties
---------------------

.. autofunction:: sqlalchemy_utils.functions.get_hybrid_properties


get_mapper
----------

.. autofunction:: sqlalchemy_utils.functions.get_mapper


get_primary_keys
----------------

.. autofunction:: sqlalchemy_utils.functions.get_primary_keys


get_tables
----------

.. autofunction:: sqlalchemy_utils.functions.get_tables


get_type
--------

.. autofunction:: sqlalchemy_utils.functions.get_type


has_changes
-----------

.. autofunction:: sqlalchemy_utils.functions.has_changes


identity
--------

.. autofunction:: sqlalchemy_utils.functions.identity


is_loaded
---------

.. autofunction:: sqlalchemy_utils.functions.is_loaded


make_order_by_deterministic
---------------------------

.. autofunction:: sqlalchemy_utils.functions.make_order_by_deterministic


naturally_equivalent
--------------------

.. autofunction:: sqlalchemy_utils.functions.naturally_equivalent


quote
-----

.. autofunction:: sqlalchemy_utils.functions.quote