mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-05-19 09:25:19 +08:00
refactor: 移除antlr4减小包体积&ai助手优化
This commit is contained in:
@@ -1,15 +1,11 @@
|
||||
package sqlstmt
|
||||
|
||||
type (
|
||||
IInsertStmt interface {
|
||||
isInsert()
|
||||
}
|
||||
// InsertStmt INSERT 语句
|
||||
type InsertStmt struct {
|
||||
Base
|
||||
Table TableRef
|
||||
Columns []string
|
||||
Values string // VALUES 部分原始文本
|
||||
}
|
||||
|
||||
InsertStmt struct {
|
||||
*Node
|
||||
|
||||
TableName *TableName
|
||||
}
|
||||
)
|
||||
|
||||
func (*InsertStmt) isInsert() {}
|
||||
func (*InsertStmt) StmtKind() Kind { return KindInsert }
|
||||
|
||||
Reference in New Issue
Block a user