Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteOnMultiDBPlan ¶ added in v0.1.1
type DeleteOnMultiDBPlan struct {
Stmt *ast.DeleteStmt
Plans []*DeleteOnSingleDBPlan
}
type DeleteOnSingleDBPlan ¶ added in v0.1.1
type DeleteOnSingleDBPlan 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 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 QueryOnMultiDBPlan ¶
type QueryOnMultiDBPlan struct {
Stmt *ast.SelectStmt
Plans []*QueryOnSingleDBPlan
}
type QueryOnSingleDBPlan ¶
type QueryOnSingleDBPlan struct {
Database string
Tables []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 UpdateOnMultiDBPlan ¶ added in v0.1.2
type UpdateOnMultiDBPlan struct {
Stmt *ast.UpdateStmt
Plans []*UpdateOnSingleDBPlan
}
type UpdateOnSingleDBPlan ¶ added in v0.1.2
type UpdateOnSingleDBPlan struct {
Database string
Tables []string
Stmt *ast.UpdateStmt
Args []interface{}
Executor proto.DBGroupExecutor
}
Click to show internal directories.
Click to hide internal directories.