MCPcopy Create free account
hub / github.com/AdRoll/baker / convert

Method convert

output/sqlite.go:48–59  ·  view source on GitHub ↗

convert to raw config, which is a superset, so that the sqlite output can always use one type only

()

Source from the content-addressed store, hash-verified

46// convert to raw config, which is a superset, so that the sqlite output can
47// always use one type only
48func (cfg *SQLiteConfig) convert() *SQLiteRawWriterConfig {
49 return &SQLiteRawWriterConfig{
50 PathString: cfg.PathString,
51 TableName: cfg.TableName,
52 PreRun: cfg.PreRun,
53 PostRun: cfg.PostRun,
54 Clear: cfg.Clear,
55 Vacuum: cfg.Vacuum,
56 Wal: cfg.Wal,
57 PageSize: cfg.PageSize,
58 }
59}
60
61// SQLiteRawWriterConfig holds the configuration parameters for the
62// raw SQLite baker output.

Callers 1

NewSQLiteFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected