Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTableName ¶
GetTableName returns the table name from the file path
Types ¶
type SqliteHandler ¶
type SqliteHandler struct {
// contains filtered or unexported fields
}
SqliteHandler handles SQLite database files
func NewSqliteHandler ¶
func NewSqliteHandler(filePaths []string, bar *progressbar.ProgressBar, storage storage.Storage, limitLines int, collection string) *SqliteHandler
NewSqliteHandler creates a new SQLite file handler
func (*SqliteHandler) Import ¶
func (h *SqliteHandler) Import() error
Import imports data from SQLite database file(s) into the storage
func (*SqliteHandler) Lines ¶
func (h *SqliteHandler) Lines() int
Lines returns the number of lines imported
Click to show internal directories.
Click to hide internal directories.