Discover Packages
github.com/guobinqiu/dump
command
module
Version:
v0.0.0-...-95d3fdb
Opens a new window with list of versions in this module.
Published: May 7, 2023
License: MIT
Opens a new window with license information.
Imports: 18
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
Fast CSV Exporter
Faster than navicat. Can used to export mysql, sqlserver, postgres, sqlite
to csv file.
CLI Params:
Name
Required
Value
sharding
no
default: 1
tableName
yes
csvFileName
no
default: tableName + ".csv"
dialect
yes
mysql, sqlserver, postgres, sqlite
are supported for now
dsn
yes
https://gorm.io/docs/connecting_to_the_database.html
withHead
no
true or false. Default to true
Example
go run main.go -dialect mysql -tableName <tableName> -dsn "<username>:<password>@tcp(<host>:<port>)/<databaseName>?charset=utf8mb4&parseTime=True&loc=Local"
License
MIT
Expand ▾
Collapse ▴
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.