client

package
v0.6.26 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

View Source
const (
	METHOD = "method"
	TARGET = "target"
	MYSQL  = "mysql"
)
View Source
const (
	DRIVER   = "driver"
	DATABASE = "database"
	TABLE    = "table"
	WHERE    = "where"
	ID       = "id"
)
View Source
const (
	SQL = "sql"

	SHOW   = "SHOW"
	CREATE = "CREATE"
	ALTER  = "ALTER"
	DROP   = "DROP"

	INSERT = "INSERT"
	DELETE = "DELETE"
	SELECT = "SELECT"
	UPDATE = "UPDATE"
)

Variables

This section is empty.

Functions

func Open added in v0.5.11

func Open(m *ice.Message, driver, dsn string, cb func(*Driver))

Types

type Client added in v0.1.3

type Client struct {
	// contains filtered or unexported fields
}

func (Client) List added in v0.1.3

func (s Client) List(m *ice.Message, arg ...string)

func (Client) Xterm added in v0.4.9

func (s Client) Xterm(m *ice.Message, arg ...string)

type Driver added in v0.5.11

type Driver struct {
	*_sql.DB
	// contains filtered or unexported fields
}

func (Driver) Exec added in v0.5.11

func (s Driver) Exec(m *ice.Message, stm string, arg ...ice.Any)

func (Driver) Query added in v0.5.11

func (s Driver) Query(m *ice.Message, stm string, arg ...ice.Any) *ice.Message

func (Driver) Total added in v0.5.11

func (s Driver) Total(m *ice.Message, where string, arg ...string) string

type Grant added in v0.3.7

type Grant struct {
	// contains filtered or unexported fields
}

func (Grant) Drop added in v0.3.7

func (s Grant) Drop(m *ice.Message, arg ...string)

func (Grant) Grants added in v0.3.7

func (s Grant) Grants(m *ice.Message, arg ...string)

func (Grant) List added in v0.3.7

func (s Grant) List(m *ice.Message, arg ...string)

func (Grant) Revoke added in v0.3.7

func (s Grant) Revoke(m *ice.Message, arg ...string)

func (Grant) Xterm added in v0.6.7

func (s Grant) Xterm(m *ice.Message, arg ...string)

type Query added in v0.1.3

type Query struct {
	// contains filtered or unexported fields
}

func (Query) Describe added in v0.6.7

func (s Query) Describe(m *ice.Message, arg ...string)

func (Query) Drop added in v0.6.15

func (s Query) Drop(m *ice.Message, arg ...string)

func (Query) List added in v0.1.3

func (s Query) List(m *ice.Message, arg ...string)

func (Query) Modify added in v0.1.3

func (s Query) Modify(m *ice.Message, arg ...string)

func (Query) Next added in v0.1.3

func (s Query) Next(m *ice.Message, arg ...string)

func (Query) Prev added in v0.1.3

func (s Query) Prev(m *ice.Message, arg ...string)

type Script added in v0.6.7

type Script struct {
	// contains filtered or unexported fields
}

func (Script) Engine added in v0.6.7

func (s Script) Engine(m *ice.Message, arg ...string)

func (Script) List added in v0.6.7

func (s Script) List(m *ice.Message, arg ...string)

Jump to

Keyboard shortcuts

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