Files
mayfly-go/server/internal/db/dbm/sqlparser/sqlstmt/update.go

27 lines
318 B
Go
Raw Normal View History

package sqlstmt
type (
IUpdateStmt interface {
INode
isUpdate()
}
UpdateStmt struct {
*Node
TableSources *TableSources
UpdatedElements []*UpdatedElement
Where IExpr
}
)
func (*UpdateStmt) isUpdate() {}
type UpdatedElement struct {
*Node
ColumnName *ColumnName
Value IExpr
}