Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

44 lines (28 sloc) 1.02 kb

Indexes

The :mod:`index` module defines two classes, :class:`Index` and :class:`IndexDict`, derived from :class:`DbSchemaObject` and :class:`DbObjectDict`, respectively.

Index

Class :class:`Index` is derived from :class:`~pyrseas.dbobject.DbSchemaObject` and represents an index on a database table, other than a primary key or unique constraint index. Its :attr:`keylist` attributes are the schema name, the table name and the index name.

An :class:`Index` has the following attributes: :attr:`access_method`, :attr:`unique`, and :attr:`keycols`.

. automethod:: Index.key_columns

. automethod:: Index.to_map

Index Dictionary

Class :class:`IndexDict` is derived from :class:`~pyrseas.dbobject.DbObjectDict` and represents the collection of indexes in a database.

Jump to Line
Something went wrong with that request. Please try again.