export

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: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ExportCmd = &cobra.Command{
	Use:   "export",
	Short: "Export data from PostgreSQL database",
	Long: `Export data from PostgreSQL database to various formats including CSV files and SQL dump files.

Examples:
  # Export table to CSV
  pgtransfer export csv myprofile public.users users.csv

  # Export database to SQL dump
  pgtransfer export dump myprofile mydatabase backup.sql

  # Export with custom query to CSV
  pgtransfer export csv myprofile --query "SELECT * FROM users WHERE active = true" active_users.csv`,
}

ExportCmd represents the export 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