IndexSpec¶
- class lsst.daf.butler.ddl.IndexSpec(*columns: str, **kwargs: Any)¶
Bases:
object
Specification of an index on table columns.
- Parameters:
- *columns
str
Names of the columns to index.
- **kwargs: `Any`
Additional keyword arguments to pass directly to
sqlalchemy.schema.Index
constructor. This could be used to provide backend-specific options, e.g. to create aGIST
index in PostgreSQL one can passpostgresql_using="gist"
.
- *columns