Documentation
¶
Index ¶
- Constants
- func Close()
- func HandleClear()
- func HandleConnect(cmdStr string) error
- func HandleDescribeTable(tableName string) error
- func HandleExport(cmdStr string) error
- func HandleHelp()
- func HandleImport(cmdStr string) error
- func HandleInteractiveConnect() error
- func HandleShowTables() error
- func HandleStatus() error
Constants ¶
View Source
const ( ImportModeInsert = "insert" // 仅插入,遇到冲突会报错 ImportModeUpsert = "upsert" // 更新插入,存在则更新,不存在则插入 )
导入模式
View Source
const ( FormatCSV = "csv" FormatExcel = "excel" )
导出格式
Variables ¶
This section is empty.
Functions ¶
func HandleDescribeTable ¶
HandleDescribeTable 显示表结构
func HandleInteractiveConnect ¶
func HandleInteractiveConnect() error
HandleInteractiveConnect 交互式连接向导(公开版本)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.