Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeletePlan ¶ added in v0.2.0
type DeletePlan struct {
Database string
Tables []string
Stmt *ast.DeleteStmt
Args []interface{}
Executor proto.DBGroupExecutor
}
type InsertPlan ¶
type InsertPlan struct {
Database string
Table string
Columns []string
Stmt *ast.InsertStmt
Args []interface{}
Executor proto.DBGroupExecutor
}
type MultiDeletePlan ¶ added in v0.2.0
type MultiDeletePlan struct {
Stmt *ast.DeleteStmt
Plans []*DeletePlan
}
type MultiUpdatePlan ¶ added in v0.2.0
type MultiUpdatePlan struct {
Stmt *ast.UpdateStmt
Plans []*UpdatePlan
}
type OrderByCell ¶
type OrderByCell struct {
// contains filtered or unexported fields
}
type OrderByCells ¶
type OrderByCells []*OrderByCell
func (OrderByCells) Len ¶
func (c OrderByCells) Len() int
func (OrderByCells) Less ¶
func (c OrderByCells) Less(i, j int) bool
func (OrderByCells) Swap ¶
func (c OrderByCells) Swap(i, j int)
type OrderField ¶ added in v0.2.0
type OrderField struct {
// contains filtered or unexported fields
}
type QueryOnMultiDBPlan ¶
type QueryOnMultiDBPlan struct {
Stmt *ast.SelectStmt
Plans []*QueryOnSingleDBPlan
}
type QueryOnSingleDBPlan ¶
type QueryOnSingleDBPlan struct {
Database string
Tables []string
PK string
Stmt *ast.SelectStmt
Limit *Limit
Args []interface{}
Executor proto.DBGroupExecutor
}
type ResultWithErr ¶
type ResultWithErrs ¶
type ResultWithErrs []*ResultWithErr
func (ResultWithErrs) Len ¶
func (r ResultWithErrs) Len() int
func (ResultWithErrs) Less ¶
func (r ResultWithErrs) Less(i, j int) bool
func (ResultWithErrs) Swap ¶
func (r ResultWithErrs) Swap(i, j int)
type UpdatePlan ¶ added in v0.2.0
type UpdatePlan struct {
Database string
Tables []string
Stmt *ast.UpdateStmt
Args []interface{}
Executor proto.DBGroupExecutor
}
Click to show internal directories.
Click to hide internal directories.