convert to raw config, which is a superset, so that the sqlite output can always use one type only
()
| 46 | // convert to raw config, which is a superset, so that the sqlite output can |
| 47 | // always use one type only |
| 48 | func (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. |