Functions

module: 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.

Procedure

Class Proc is derived from ~pyrseas.dbobject.DbSchemaObject and represents a regular or aggregate function.

autoclass: Proc

automethod: Proc.extern_key

automethod: Proc.identifier

Function

Function is derived from Proc and represents a PostgreSQL user-defined function.

autoclass: Function

automethod: Function.to_map

automethod: Function.create

automethod: Function.diff_map

Aggregate Function

Aggregate is derived from Proc and represents a PostgreSQL user-defined aggregate function.

autoclass: Aggregate

automethod: Aggregate.to_map

automethod: Aggregate.create

automethod: Aggregate.diff_map

Procedure Dictionary

ProcDict is derived from ~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

automethod: ProcDict.diff_map