Files
pyrseas/docs/collation.rst
T
2025-05-20 09:24:29 -04:00

32 lines
773 B
ReStructuredText

Collations
==========
.. module:: pyrseas.dbobject.collation
The :mod:`collation` module defines two classes, :class:`Collation`
and :class:`CollationDict`, derived from :class:`DbSchemaObject` and
:class:`DbObjectDict`, respectively.
Collation
---------
:class:`Collation` is derived from
:class:`~pyrseas.dbobject.DbSchemaObject` and represents a `Postgres
collation
<https://www.postgresql.org/docs/current/static/collation.html>`_.
.. autoclass:: Collation
.. automethod:: Collation.create
Collation Dictionary
--------------------
:class:`CollationDict` is derived from
:class:`~pyrseas.dbobject.DbObjectDict`. It is a dictionary that
represents the collection of collations in a database.
.. autoclass:: CollationDict
.. automethod:: CollationDict.from_map