package
9.0.0-alpha+incompatible
Repository: https://github.com/pingcap/tidb.git
Documentation: pkg.go.dev
# Functions
NewContext creates a new context for meta-building.
NewNonStrictContext creates a new context for meta-building with non-strict mode.
WithClusteredIndexDefMode sets the clustered index mode.
WithEnableAutoIncrementInGenerated sets whether enable auto increment in generated column.
WithExprCtx sets the expression context.
WithInfoSchema sets the info schema.
WithPreSplitRegions sets the pre-split regions.
WithPrimaryKeyRequired sets whether primary key is required.
WithShardRowIDBits sets the shard row id bits.
WithSuppressTooLongIndexErr sets whether to suppress too long index error.
# Interfaces
Option is used to set context options.