Documentation ¶
Index ¶
- type MysqlDeleteRecognizer
- func (recognizer *MysqlDeleteRecognizer) GetOriginalSQL() string
- func (recognizer *MysqlDeleteRecognizer) GetSQLType() sqlparser.SQLType
- func (recognizer *MysqlDeleteRecognizer) GetTableAlias() string
- func (recognizer *MysqlDeleteRecognizer) GetTableName() string
- func (recognizer *MysqlDeleteRecognizer) GetWhereCondition() string
- type MysqlInsertRecognizer
- func (recognizer *MysqlInsertRecognizer) GetInsertColumns() []string
- func (recognizer *MysqlInsertRecognizer) GetInsertRows() [][]string
- func (recognizer *MysqlInsertRecognizer) GetOriginalSQL() string
- func (recognizer *MysqlInsertRecognizer) GetSQLType() sqlparser.SQLType
- func (recognizer *MysqlInsertRecognizer) GetTableAlias() string
- func (recognizer *MysqlInsertRecognizer) GetTableName() string
- type MysqlSelectForUpdateRecognizer
- func (recognizer *MysqlSelectForUpdateRecognizer) GetOriginalSQL() string
- func (recognizer *MysqlSelectForUpdateRecognizer) GetSQLType() sqlparser.SQLType
- func (recognizer *MysqlSelectForUpdateRecognizer) GetTableAlias() string
- func (recognizer *MysqlSelectForUpdateRecognizer) GetTableName() string
- func (recognizer *MysqlSelectForUpdateRecognizer) GetWhereCondition() string
- type MysqlUpdateRecognizer
- func (recognizer *MysqlUpdateRecognizer) GetOriginalSQL() string
- func (recognizer *MysqlUpdateRecognizer) GetSQLType() sqlparser.SQLType
- func (recognizer *MysqlUpdateRecognizer) GetTableAlias() string
- func (recognizer *MysqlUpdateRecognizer) GetTableName() string
- func (recognizer *MysqlUpdateRecognizer) GetUpdateColumns() []string
- func (recognizer *MysqlUpdateRecognizer) GetUpdateValues() []string
- func (recognizer *MysqlUpdateRecognizer) GetWhereCondition() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlDeleteRecognizer ¶
type MysqlDeleteRecognizer struct {
// contains filtered or unexported fields
}
func NewMysqlDeleteRecognizer ¶
func NewMysqlDeleteRecognizer(originalSQL string, deleteStmt *ast.DeleteStmt) *MysqlDeleteRecognizer
func (*MysqlDeleteRecognizer) GetOriginalSQL ¶
func (recognizer *MysqlDeleteRecognizer) GetOriginalSQL() string
func (*MysqlDeleteRecognizer) GetSQLType ¶
func (recognizer *MysqlDeleteRecognizer) GetSQLType() sqlparser.SQLType
func (*MysqlDeleteRecognizer) GetTableAlias ¶
func (recognizer *MysqlDeleteRecognizer) GetTableAlias() string
func (*MysqlDeleteRecognizer) GetTableName ¶
func (recognizer *MysqlDeleteRecognizer) GetTableName() string
func (*MysqlDeleteRecognizer) GetWhereCondition ¶
func (recognizer *MysqlDeleteRecognizer) GetWhereCondition() string
type MysqlInsertRecognizer ¶
type MysqlInsertRecognizer struct {
// contains filtered or unexported fields
}
func NewMysqlInsertRecognizer ¶
func NewMysqlInsertRecognizer(originalSQL string, insertStmt *ast.InsertStmt) *MysqlInsertRecognizer
func (*MysqlInsertRecognizer) GetInsertColumns ¶
func (recognizer *MysqlInsertRecognizer) GetInsertColumns() []string
func (*MysqlInsertRecognizer) GetInsertRows ¶
func (recognizer *MysqlInsertRecognizer) GetInsertRows() [][]string
func (*MysqlInsertRecognizer) GetOriginalSQL ¶
func (recognizer *MysqlInsertRecognizer) GetOriginalSQL() string
func (*MysqlInsertRecognizer) GetSQLType ¶
func (recognizer *MysqlInsertRecognizer) GetSQLType() sqlparser.SQLType
func (*MysqlInsertRecognizer) GetTableAlias ¶
func (recognizer *MysqlInsertRecognizer) GetTableAlias() string
func (*MysqlInsertRecognizer) GetTableName ¶
func (recognizer *MysqlInsertRecognizer) GetTableName() string
type MysqlSelectForUpdateRecognizer ¶
type MysqlSelectForUpdateRecognizer struct {
// contains filtered or unexported fields
}
func NewMysqlSelectForUpdateRecognizer ¶
func NewMysqlSelectForUpdateRecognizer(originalSQL string, selectStmt *ast.SelectStmt) *MysqlSelectForUpdateRecognizer
func (*MysqlSelectForUpdateRecognizer) GetOriginalSQL ¶
func (recognizer *MysqlSelectForUpdateRecognizer) GetOriginalSQL() string
func (*MysqlSelectForUpdateRecognizer) GetSQLType ¶
func (recognizer *MysqlSelectForUpdateRecognizer) GetSQLType() sqlparser.SQLType
func (*MysqlSelectForUpdateRecognizer) GetTableAlias ¶
func (recognizer *MysqlSelectForUpdateRecognizer) GetTableAlias() string
func (*MysqlSelectForUpdateRecognizer) GetTableName ¶
func (recognizer *MysqlSelectForUpdateRecognizer) GetTableName() string
func (*MysqlSelectForUpdateRecognizer) GetWhereCondition ¶
func (recognizer *MysqlSelectForUpdateRecognizer) GetWhereCondition() string
type MysqlUpdateRecognizer ¶
type MysqlUpdateRecognizer struct {
// contains filtered or unexported fields
}
func NewMysqlUpdateRecognizer ¶
func NewMysqlUpdateRecognizer(originalSQL string, updateStmt *ast.UpdateStmt) *MysqlUpdateRecognizer
func (*MysqlUpdateRecognizer) GetOriginalSQL ¶
func (recognizer *MysqlUpdateRecognizer) GetOriginalSQL() string
func (*MysqlUpdateRecognizer) GetSQLType ¶
func (recognizer *MysqlUpdateRecognizer) GetSQLType() sqlparser.SQLType
func (*MysqlUpdateRecognizer) GetTableAlias ¶
func (recognizer *MysqlUpdateRecognizer) GetTableAlias() string
func (*MysqlUpdateRecognizer) GetTableName ¶
func (recognizer *MysqlUpdateRecognizer) GetTableName() string
func (*MysqlUpdateRecognizer) GetUpdateColumns ¶
func (recognizer *MysqlUpdateRecognizer) GetUpdateColumns() []string
func (*MysqlUpdateRecognizer) GetUpdateValues ¶
func (recognizer *MysqlUpdateRecognizer) GetUpdateValues() []string
func (*MysqlUpdateRecognizer) GetWhereCondition ¶
func (recognizer *MysqlUpdateRecognizer) GetWhereCondition() string
Click to show internal directories.
Click to hide internal directories.