initial commit
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
Functions
|
||||
=========
|
||||
|
||||
.. module:: pyrseas.dbobject.function
|
||||
|
||||
The :mod:`function` module defines four classes: class :class:`Proc`
|
||||
derived from :class:`DbSchemaObject`, classes :class:`Function` and
|
||||
:class:`Aggregate` derived from :class:`Proc`, and class
|
||||
:class:`ProcDict` derived from :class:`DbObjectDict`.
|
||||
|
||||
Procedure
|
||||
---------
|
||||
|
||||
Class :class:`Proc` is derived from
|
||||
:class:`~pyrseas.dbobject.DbSchemaObject` and represents a regular or
|
||||
aggregate function.
|
||||
|
||||
.. autoclass:: Proc
|
||||
|
||||
.. automethod:: Proc.extern_key
|
||||
|
||||
.. automethod:: Proc.identifier
|
||||
|
||||
Function
|
||||
--------
|
||||
|
||||
:class:`Function` is derived from :class:`Proc` and represents a
|
||||
`Postgres user-defined function
|
||||
<https://www.postgresql.org/docs/current/static/xfunc.html>`_.
|
||||
|
||||
|
||||
.. autoclass:: Function
|
||||
|
||||
.. automethod:: Function.to_map
|
||||
|
||||
.. automethod:: Function.create
|
||||
|
||||
.. automethod:: Function.alter
|
||||
|
||||
.. automethod:: Function.drop
|
||||
|
||||
Aggregate Function
|
||||
------------------
|
||||
|
||||
:class:`Aggregate` is derived from :class:`Proc` and represents a
|
||||
`Postgres user-defined aggregate function
|
||||
<https://www.postgresql.org/docs/current/static/sql-createaggregate.html>`_.
|
||||
|
||||
.. autoclass:: Aggregate
|
||||
|
||||
.. automethod:: Aggregate.to_map
|
||||
|
||||
.. automethod:: Aggregate.create
|
||||
|
||||
Procedure Dictionary
|
||||
--------------------
|
||||
|
||||
:class:`ProcDict` is derived from
|
||||
:class:`~pyrseas.dbobject.DbObjectDict`. It is a dictionary that
|
||||
represents the collection of regular and aggregate functions in a
|
||||
database.
|
||||
|
||||
.. autoclass:: ProcDict
|
||||
|
||||
.. automethod:: ProcDict.from_map
|
||||
Reference in New Issue
Block a user