Update expression_ext.go
This commit is contained in:
		
							parent
							
								
									e075423929
								
							
						
					
					
						commit
						25fabd9f40
					
				@ -278,7 +278,7 @@ func (e *expr) SumExpr() *expr {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
func (e *expr) ReplaceExpr(search string,replace string) *expr {
 | 
					func (e *expr) ReplaceExpr(search string,replace string) *expr {
 | 
				
			||||||
	e.expr = "REPLACE(" + e.expr + ",'?','?')"
 | 
						e.expr = "REPLACE(" + e.expr + ",?,?)"
 | 
				
			||||||
	e.args = append(e.args, search, replace)	
 | 
						e.args = append(e.args, search, replace)	
 | 
				
			||||||
	return e
 | 
						return e
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user