File: database_helpers.rst

package info (click to toggle)
python-sqlalchemy-utils 0.42.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,236 kB
  • sloc: python: 13,002; makefile: 20
file content (50 lines) | stat: -rw-r--r-- 769 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
Database helpers
================


database_exists
---------------

.. autofunction:: sqlalchemy_utils.functions.database_exists


create_database
---------------

.. autofunction:: sqlalchemy_utils.functions.create_database


drop_database
-------------

.. autofunction:: sqlalchemy_utils.functions.drop_database


has_index
---------

.. autofunction:: sqlalchemy_utils.functions.has_index


has_unique_index
----------------

.. autofunction:: sqlalchemy_utils.functions.has_unique_index


json_sql
--------

.. autofunction:: sqlalchemy_utils.functions.json_sql


render_expression
-----------------

.. autofunction:: sqlalchemy_utils.functions.render_expression


render_statement
----------------

.. autofunction:: sqlalchemy_utils.functions.render_statement