sqlitedb

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTableName

func GetTableName(filePath string) string

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) Close

func (h *SqliteHandler) Close() error

Close closes the 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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL