Skip to content

SQLAlchemy Configuration

enable

Whether to enable the plugin.

Type: bool | Default: False

[ext.sqlalchemy]
enable = false
[tool.metaxy.ext.sqlalchemy]
enable = false
export METAXY_EXT__SQLALCHEMY_EXT__SQLALCHEMY__ENABLE=false

inject_primary_key

Automatically inject composite primary key constraints on user-defined feature tables. The key is composed of ID columns, metaxy_created_at, and metaxy_data_version.

Type: bool | Default: False

[ext.sqlalchemy]
inject_primary_key = false
[tool.metaxy.ext.sqlalchemy]
inject_primary_key = false
export METAXY_EXT__SQLALCHEMY_EXT__SQLALCHEMY__INJECT_PRIMARY_KEY=false

inject_index

Automatically inject composite index on user-defined feature tables. The index covers ID columns, metaxy_created_at, and metaxy_data_version.

Type: bool | Default: False

[ext.sqlalchemy]
inject_index = false
[tool.metaxy.ext.sqlalchemy]
inject_index = false
export METAXY_EXT__SQLALCHEMY_EXT__SQLALCHEMY__INJECT_INDEX=false