Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for AddClauseIfNotExists (0.17 sec)

  1. statement.go

    	} else {
    		name := v.Name()
    		c := stmt.Clauses[name]
    		c.Name = name
    		v.MergeClause(&c)
    		stmt.Clauses[name] = c
    	}
    }
    
    // AddClauseIfNotExists add clause if not exists
    func (stmt *Statement) AddClauseIfNotExists(v clause.Interface) {
    	if c, ok := stmt.Clauses[v.Name()]; !ok || c.Expression == nil {
    		stmt.AddClause(v)
    	}
    }
    
    // BuildCondition build condition
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 19.8K bytes
    - Viewed (0)
Back to top