Index¶
- pydantic model felis.datamodel.Index¶
Table index model.
An index can be defined on either columns or expressions, but not both.
- Parameters:
data (
Any
)- Fields:
- Validators:
check_columns_or_expressions
»all fields
- field columns: list[str] | None = None¶
Columns in the index.
- Validated by:
- field expressions: list[str] | None = None¶
Expressions in the index.
- Validated by:
- validator check_columns_or_expressions » all fields¶
Check that columns or expressions are specified, but not both.