Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedSQL = errors.New("unsupported sql")
)
Functions ¶
This section is empty.
Types ¶
type DefaultSqlHandler ¶
type DefaultSqlHandler struct {
}
func (DefaultSqlHandler) HandleCreate ¶
func (DefaultSqlHandler) HandleCreate(sql string, stat *sqlparser.CreateTable) (string, error)
func (DefaultSqlHandler) NeedHandleCreate ¶
func (DefaultSqlHandler) NeedHandleCreate(sql string, stat *sqlparser.CreateTable) (bool, error)
type Req ¶
type SqlHandler ¶
type SqlHandler interface {
NeedHandleCreate(sql string, stat *sqlparser.CreateTable) (bool, error)
HandleCreate(sql string, stat *sqlparser.CreateTable) (string, error)
}
Click to show internal directories.
Click to hide internal directories.