importcmd

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ImportCmd = &cobra.Command{
	Use:   "import",
	Short: "Import data into PostgreSQL database",
	Long: `Import data into PostgreSQL database from various formats including CSV files and SQL dump files.

Examples:
  # Import CSV file into table
  pgtransfer import csv myprofile public.users users.csv

  # Import CSV with custom batch size
  pgtransfer import csv myprofile public.products products.csv --batch-size 1000

  # Import CSV with headers
  pgtransfer import csv myprofile public.customers customers.csv --headers`,
}

ImportCmd represents the import command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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