Split utitilies to model helpers and database helpers in docs
This commit is contained in:
47
docs/database_helpers.rst
Normal file
47
docs/database_helpers.rst
Normal file
@@ -0,0 +1,47 @@
|
||||
Database helpers
|
||||
================
|
||||
|
||||
|
||||
.. module:: sqlalchemy_utils.functions
|
||||
|
||||
|
||||
is_indexed_foreign_key
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. autofunction:: is_indexed_foreign_key
|
||||
|
||||
|
||||
non_indexed_foreign_keys
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. autofunction:: non_indexed_foreign_keys
|
||||
|
||||
|
||||
database_exists
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
.. autofunction:: database_exists
|
||||
|
||||
|
||||
create_database
|
||||
^^^^^^^^^^^^^^^
|
||||
|
||||
.. autofunction:: create_database
|
||||
|
||||
|
||||
drop_database
|
||||
^^^^^^^^^^^^^^
|
||||
|
||||
.. autofunction:: drop_database
|
||||
|
||||
|
||||
render_expression
|
||||
^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. autofunction:: render_expression
|
||||
|
||||
|
||||
render_statement
|
||||
^^^^^^^^^^^^^^^^
|
||||
|
||||
.. autofunction:: render_statement
|
@@ -13,5 +13,6 @@ SQLAlchemy-Utils provides custom data types and various utility functions for SQ
|
||||
aggregates
|
||||
decorators
|
||||
generic_relationship
|
||||
utilities
|
||||
database_helpers
|
||||
model_helpers
|
||||
license
|
||||
|
@@ -1,5 +1,5 @@
|
||||
Utility functions
|
||||
=================
|
||||
Model helpers
|
||||
=============
|
||||
|
||||
.. module:: sqlalchemy_utils.functions
|
||||
|
||||
@@ -28,22 +28,11 @@ identity
|
||||
.. autofunction:: identity
|
||||
|
||||
|
||||
is_indexed_foreign_key
|
||||
^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. autofunction:: is_indexed_foreign_key
|
||||
|
||||
|
||||
naturally_equivalent
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. autofunction:: naturally_equivalent
|
||||
|
||||
non_indexed_foreign_keys
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. autofunction:: non_indexed_foreign_keys
|
||||
|
||||
|
||||
sort_query
|
||||
^^^^^^^^^^
|
Reference in New Issue
Block a user