Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for NegationBuild (0.05 sec)

  1. clause/expression.go

    		}
    	}
    }
    
    func (neq Neq) NegationBuild(builder Builder) {
    	Eq(neq).Build(builder)
    }
    
    // Gt greater than for where
    type Gt Eq
    
    func (gt Gt) Build(builder Builder) {
    	builder.WriteQuoted(gt.Column)
    	builder.WriteString(" > ")
    	builder.AddVar(builder, gt.Value)
    }
    
    func (gt Gt) NegationBuild(builder Builder) {
    	Lte(gt).Build(builder)
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 06:45:48 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  2. clause/where.go

    		}
    
    		for idx, c := range not.Exprs {
    			if idx > 0 {
    				builder.WriteString(AndWithSpace)
    			}
    
    			if negationBuilder, ok := c.(NegationExpressionBuilder); ok {
    				negationBuilder.NegationBuild(builder)
    			} else {
    				builder.WriteString("NOT ")
    				e, wrapInParentheses := c.(Expr)
    				if wrapInParentheses {
    					sql := strings.ToUpper(e.SQL)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Apr 25 12:22:53 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top