MCPcopy Create free account
hub / github.com/dolthub/doltgresql / OptionalGen

Struct OptionalGen

testing/generation/utils/statement_generator.go:536–540  ·  view source on GitHub ↗

OptionalGen is a generator that will toggle between displaying its children and not displaying its children.

Source from the content-addressed store, hash-verified

534
535// OptionalGen is a generator that will toggle between displaying its children and not displaying its children.
536type OptionalGen struct {
537 children *CollectionGen
538 display bool
539 localInt *big.Int
540}
541
542var _ StatementGenerator = (*OptionalGen)(nil)
543

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected