csvloader

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BatchSize = 400

Functions

This section is empty.

Types

type CSVLoader

type CSVLoader struct {
	MaxConcurrentRuns int
	// contains filtered or unexported fields
}

func NewCSVLoader

func NewCSVLoader(files []string, db *pgdb.DB, look int, t string, maxRuns int) *CSVLoader

Warning: This doesn't support GZIP files.

func (*CSVLoader) InsertRecordsInBatches

func (c *CSVLoader) InsertRecordsInBatches(path string) error

func (*CSVLoader) InsertRecordsInBatches2

func (c *CSVLoader) InsertRecordsInBatches2(path string) error

func (*CSVLoader) Run

func (c *CSVLoader) Run() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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