mirror of
				https://gitee.com/dromara/mayfly-go
				synced 2025-11-04 00:10:25 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			27 lines
		
	
	
		
			318 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			318 B
		
	
	
	
		
			Go
		
	
	
	
	
	
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
 | 
						|
}
 |