pyrseas.dbobject.function
The function
module defines four classes: class Proc
derived from DbSchemaObject
, classes Function
and Aggregate
derived from Proc
, and class ProcDict
derived from DbObject
.
Class Proc
is derived from ~pyrseas.dbobject.DbSchemaObject
and represents a regular or aggregate function.
Proc
Proc.extern_key
Proc.identifier
Function
is derived from Proc
and represents a PostgreSQL user-defined function.
Function
Function.to_map
Function.create
Function.diff_map
Aggregate
is derived from Proc
and represents a PostgreSQL user-defined aggregate function.
Aggregate
Aggregate.to_map
Aggregate.create
ProcDict
is derived from ~pyrseas.dbobject.DbObjectDict
. It is a dictionary that represents the collection of regular and aggregate functions in a database.
ProcDict
ProcDict.from_map
ProcDict.diff_map