mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-05-19 17:35:20 +08:00
refactor: 移除antlr4减小包体积&ai助手优化
This commit is contained in:
@@ -1,16 +1,10 @@
|
||||
package sqlstmt
|
||||
|
||||
type (
|
||||
IDeleteStmt interface {
|
||||
isDelete()
|
||||
}
|
||||
// DeleteStmt DELETE 语句
|
||||
type DeleteStmt struct {
|
||||
Base
|
||||
Tables []TableRef // 删除的表
|
||||
Where *Expr
|
||||
}
|
||||
|
||||
DeleteStmt struct {
|
||||
*Node
|
||||
|
||||
TableSources *TableSources
|
||||
Where IExpr
|
||||
}
|
||||
)
|
||||
|
||||
func (*DeleteStmt) isDelete() {}
|
||||
func (*DeleteStmt) StmtKind() Kind { return KindDelete }
|
||||
|
||||
Reference in New Issue
Block a user