package
19.2.0-alpha.20190805+incompatible
Repository: https://github.com/jrote1/cockroach.git
Documentation: pkg.go.dev
# Functions
AvoidConsts causes the Smither to prefer column references over generating constants.
CompareMode causes the Smither to generate statements that have deterministic output.
DisableCRDBFns causes the Smither to disable crdb_internal functions.
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.
DisableWith causes the Smither to not emit WITH clauses.
IgnoreFNs causes the Smither to ignore functions that match the regex.
NewSmither creates a new Smither.
NewWeightedSampler creates a WeightedSampler that produces indexes corresponding to positions in weights.
PostgresMode causes the Smither to generate statements that work identically in Postgres and Cockroach.
SimpleDatums causes the Smither to emit simpler constant datums.
# Structs
Context holds information about what kinds of expressions are legal at a particular place in a query.
Smither is a sqlsmith generator.
WeightedSampler is a weighted sampler.
# Interfaces
SmitherOption is an option for the Smither client.