IndexSpec¶
- class lsst.daf.butler.ddl.IndexSpec(*columns: str, **kwargs: Any)¶
Bases:
objectSpecification 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.Indexconstructor. This could be used to provide backend-specific options, e.g. to create aGISTindex in PostgreSQL one can passpostgresql_using="gist".
- *columns