package
20.1.0-rc.2+incompatible
Repository: https://github.com/cargillb/cockroachdb.git
Documentation: pkg.go.dev
# Variables
ColumnFamilyMutator modifies a CREATE TABLE statement without any FAMILY definitions to have random FAMILY definitions.
ForeignKeyMutator adds ALTER TABLE ADD FOREIGN KEY statements.
IndexStoringMutator modifies the STORING clause of CREATE INDEX and indexes in CREATE TABLE.
PostgresCreateTableMutator modifies CREATE TABLE statements to remove any features not supported by Postgres that would change results (like descending primary keys).
PostgresMutator modifies strings such that they execute identically in both Postgres and Cockroach (however this mutator does not remove features not supported by Postgres; use PostgresCreateTableMutator for those).
StatisticsMutator adds ALTER TABLE INJECT STATISTICS statements.
# Interfaces
StringMutator defines a mutator that works on strings.
# Type aliases
MultiStatementMutation defines a func that can return a list of new and/or mutated statements.
StatementMutator defines a func that can change a statement.
StatementStringMutator defines a func that mutates a string.