The operfamily module defines two classes: class OperatorFamily derived from DbSchemaObject and class OperatorFamilyDict derived from DbObjectDict.
OperatorFamily is derived from DbSchemaObject and represents a PostgreSQL operator family.
An operator family
Return the key to be used in external maps for the operator family
| Returns: | string |
|---|
Return a full identifier for an operator family object
| Returns: | string |
|---|
Return SQL statements to CREATE the operator family
| Returns: | SQL statements |
|---|
OperatorFamilyDict is derived from DbObjectDict. It is a dictionary that represents the collection of operator families in a database.
The collection of operator families in a database
Initalize the dict of operator families by converting the input map
| Parameters: |
|
|---|
Generate SQL to transform existing operator families
| Parameters: | inopfams – a YAML map defining the new operator families |
|---|---|
| Returns: | list of SQL statements |
Compares the existing operator family definitions, as fetched from the catalogs, to the input map and generates SQL statements to transform the operator families accordingly.