package
20.1.0-beta.2+incompatible
Repository: https://github.com/jbowens/cockroach.git
Documentation: pkg.go.dev

# Functions

DisableCRDBFns causes the Smither to disable crdb_internal functions.
IgnoreFNs causes the Smither to ignore functions that match the regex.
NewSmither creates a new Smither.
RandSetting returns a random key from Settings.
RandSetup returns a random key from Setups.

# Constants

NoParallel indicates that, if determinism is desired, this Setting should not be executed in parallel.
Parallel indicates that this Setting can be executed in parallel and still preserve determinism.

# Variables

AvoidConsts causes the Smither to prefer column references over generating constants.
CompareMode causes the Smither to generate statements that have deterministic output.
DisableDDLs causes the Smither to not emit statements that change table schema (CREATE, DROP, ALTER, etc.).
DisableImpureFns causes the Smither to disable impure functions.
DisableLimits causes the Smither to disable LIMIT clauses.
DisableMutations causes the Smither to not emit statements that could mutate any on-disk data.
DisableWindowFuncs disables window functions.
DisableWith causes the Smither to not emit WITH clauses.
OnlyNoDropDDLs causes the Smither to only emit DDLs, but won't ever drop a table.
OutputSort adds a top-level ORDER BY on all columns.
PostgresMode causes the Smither to generate statements that work identically in Postgres and Cockroach.
Settings is a collection of useful Setting options.
SettingVectorize is the setting for vectorizable.
Setups is a collection of useful initial table states.
SimpleDatums causes the Smither to emit simpler constant datums.
Vectorizable causes the Smither to limit query generation to queries supported by vectorized execution.

# Structs

Context holds information about what kinds of expressions are legal at a particular place in a query.
Setting defines options and execution modes for a Smither.
Smither is a sqlsmith generator.

# Interfaces

SmitherOption is an option for the Smither client.

# Type aliases

ExecMode definitions define how a Setting can be executed.
SettingFunc generates a Setting.
Setup generates a SQL query that can be executed to initialize a database for smithing.