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 DbObjectDict.

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 Postgres user-defined function.

autoclass: Function

automethod: Function.to_map

automethod: Function.create

automethod: Function.alter

automethod: Function.drop

Aggregate Function

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

autoclass: Aggregate

automethod: Aggregate.to_map

automethod: Aggregate.create

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