Rules

module: pyrseas.dbobject.rule

The rule module defines two classes, Rule and RuleDict, derived from DbSchemaObject and DbObjectDict, respectively.

Rule

Rule is derived from ~pyrseas.dbobject.DbSchemaObject and represents a Postgres rewrite rule.

autoclass: Rule

automethod: Rule.identifier

automethod: Rule.to_map

automethod: Rule.create

Rule Dictionary

RuleDict is derived from ~pyrseas.dbobject.DbObjectDict. It is a dictionary that represents the collection of rewrite rules in a database.

autoclass: RuleDict

automethod: RuleDict.from_map