Versions in this module Expand all Collapse all v1 v1.0.0 Dec 17, 2020 Changes in this version + func New() generator.Generator + type DataGenerator struct + func (d *DataGenerator) Next() []string + type SQLSmith struct + Databases map[string]*types.Database + Node ast.Node + Rand *rand.Rand + func (s *SQLSmith) AlterTableStmt(opt *generator.DDLOptions) (string, error) + func (s *SQLSmith) BatchData(total, batchSize int) ([]string, error) + func (s *SQLSmith) BeginWithOnlineTables(opt *generator.DMLOptions) []string + func (s *SQLSmith) CreateIndexStmt(opt *generator.DDLOptions) (string, error) + func (s *SQLSmith) CreateTableStmt() (string, string, error) + func (s *SQLSmith) Debug() + func (s *SQLSmith) DeleteStmt() (string, string, error) + func (s *SQLSmith) EndTransaction() []string + func (s *SQLSmith) GenData(total, batch int) (*DataGenerator, error) + func (s *SQLSmith) GetCurrDBName() string + func (s *SQLSmith) GetDB(db string) *types.Database + func (s *SQLSmith) Hint() bool + func (s *SQLSmith) InsertStmt(fn bool) (string, string, error) + func (s *SQLSmith) InsertStmtStr(fn bool) (string, string, error) + func (s *SQLSmith) LoadSchema(records [][5]string, indexes map[string][]string) + func (s *SQLSmith) SelectForUpdateStmt(depth int) (string, string, error) + func (s *SQLSmith) SelectStmt(depth int) (string, string, error) + func (s *SQLSmith) SetDB(db string) + func (s *SQLSmith) SetHint(hint bool) + func (s *SQLSmith) SetStable(stable bool) + func (s *SQLSmith) Stable() + func (s *SQLSmith) UpdateStmt() (string, string, error) + func (s *SQLSmith) Walk(tree ast.Node) (string, string, error)