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

Method Copy

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

Copy returns a copy of the given generator (along with all of its children) in its original setting. This means that the copy is in the same state that the target would be in if it had never called Consume.

()

Source from the content-addressed store, hash-verified

43 // Copy returns a copy of the given generator (along with all of its children) in its original setting. This means
44 // that the copy is in the same state that the target would be in if it had never called Consume.
45 Copy() StatementGenerator
46 // Reset sets the StatementGenerator back to its original state, which would be as though Consume was never called.
47 // This is equivalent to calling SetConsumeIterations(0), albeit slightly more efficient.
48 Reset()

Callers 12

SchemaMethod · 0.65
loadLibraryInternalFunction · 0.65
resolveAlterColumnFunction · 0.65
RowIterMethod · 0.65
RowIterMethod · 0.65
DownloadFileFunction · 0.65
RepeatMethod · 0.65
OptionalRepeatMethod · 0.65
VariableFunction · 0.65
AddChildrenMethod · 0.65
copyGeneratorsFunction · 0.65

Implementers 4

OrGentesting/generation/utils/statement_gen
VariableGentesting/generation/utils/statement_gen
CollectionGentesting/generation/utils/statement_gen
OptionalGentesting/generation/utils/statement_gen

Calls

no outgoing calls

Tested by

no test coverage detected