package
0.5.0
Repository: https://github.com/cectc/dbpack.git
Documentation: pkg.go.dev

# Functions

CommandType extracts command type.
ConnectionID extracts connection id.
ExtractDBGroupTx .
IsMaster returns true if force using master.
IsSlave returns true if force using master.
PrepareStmt extracts prepare stmt.
QueryStmt extracts query stmt.
RemoteAddr extracts remote addr.
Schema extracts schema.
SqlText extracts sql text.
UserName extracts user name.
Variable extracts variable value.
WithCommandType binds command type.
WithConnectionID binds connection id.
WithDBGroupTx .
WithMaster uses master datasource.
WithPrepareStmt binds prepare stmt.
WithQueryStmt binds query stmt.
WithRemoteAddr binds remote address.
WithSchema binds schema.
WithSlave uses slave datasource.
WithSqlText binds sql text.
WithUserName binds user name.
WithVariable binds a key value pair.
WithVariableMap binds a map[string]interface{} to store temp variable.

# Constants

No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Type aliases

No description provided by the author