handler

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2025 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ImportModeInsert = "insert" // 仅插入,遇到冲突会报错
	ImportModeUpsert = "upsert" // 更新插入,存在则更新,不存在则插入
)

导入模式

View Source
const (
	FormatCSV   = "csv"
	FormatExcel = "excel"
)

导出格式

Variables

This section is empty.

Functions

func Close

func Close()

Close 关闭readline实例

func HandleClear

func HandleClear()

HandleClear 清屏命令处理

func HandleConnect

func HandleConnect(cmdStr string) error

HandleConnect 处理连接命令

func HandleDescribeTable

func HandleDescribeTable(tableName string) error

HandleDescribeTable 显示表结构

func HandleExport

func HandleExport(cmdStr string) error

HandleExport 处理导出命令

func HandleHelp

func HandleHelp()

HandleHelp 帮助命令处理

func HandleImport

func HandleImport(cmdStr string) error

HandleImport 处理导入命令

func HandleInteractiveConnect

func HandleInteractiveConnect() error

HandleInteractiveConnect 交互式连接向导(公开版本)

func HandleShowTables

func HandleShowTables() error

HandleShowTables 显示表列表

func HandleStatus

func HandleStatus() error

HandleStatus 状态命令处理

Types

This section is empty.

Jump to

Keyboard shortcuts

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