remove unwanted method args
This commit is contained in:
		
							
								
								
									
										6
									
								
								pgm.go
									
									
									
									
									
								
							
							
						
						
									
										6
									
								
								pgm.go
									
									
									
									
									
								
							@@ -45,17 +45,17 @@ func (f Field) Count() Field {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// StringEscape will return a empty string for null value
 | 
					// StringEscape will return a empty string for null value
 | 
				
			||||||
func (f Field) StringEscape(arg ...any) Field {
 | 
					func (f Field) StringEscape() Field {
 | 
				
			||||||
	return Field("COALESCE(" + f.String() + ", '')")
 | 
						return Field("COALESCE(" + f.String() + ", '')")
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// NumberEscape will return a zero string for null value
 | 
					// NumberEscape will return a zero string for null value
 | 
				
			||||||
func (f Field) NumberEscape(arg ...any) Field {
 | 
					func (f Field) NumberEscape() Field {
 | 
				
			||||||
	return Field("COALESCE(" + f.String() + ", 0)")
 | 
						return Field("COALESCE(" + f.String() + ", 0)")
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// BooleanEscape will return a false for null value
 | 
					// BooleanEscape will return a false for null value
 | 
				
			||||||
func (f Field) BooleanEscape(arg ...any) Field {
 | 
					func (f Field) BooleanEscape() Field {
 | 
				
			||||||
	return Field("COALESCE(" + f.String() + ", FALSE)")
 | 
						return Field("COALESCE(" + f.String() + ", FALSE)")
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user