Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for joinType (0.1 sec)

  1. clause/joins.go

    package clause
    
    type JoinType string
    
    const (
    	CrossJoin JoinType = "CROSS"
    	InnerJoin JoinType = "INNER"
    	LeftJoin  JoinType = "LEFT"
    	RightJoin JoinType = "RIGHT"
    )
    
    // Join clause for from
    type Join struct {
    	Type       JoinType
    	Table      Table
    	ON         Where
    	Using      []string
    	Expression Expression
    }
    
    func (join Join) Build(builder Builder) {
    	if join.Expression != nil {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Nov 03 13:03:13 UTC 2022
    - 901 bytes
    - Viewed (0)
  2. callbacks/query.go

    							}
    
    							if isNestedJoin {
    								isRelations = true
    								relations = gussNestedRelations
    							}
    						}
    					}
    
    					if isRelations {
    						genJoinClause := func(joinType clause.JoinType, parentTableName string, relation *schema.Relationship) clause.Join {
    							tableAliasName := relation.Name
    							if parentTableName != clause.CurrentTable {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:51:44 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. chainable_api.go

    	return joins(db, clause.InnerJoin, query, args...)
    }
    
    func joins(db *DB, joinType clause.JoinType, query string, args ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    
    	if len(args) == 1 {
    		if db, ok := args[0].(*DB); ok {
    			j := join{
    				Name: query, Conds: args, Selects: db.Statement.Selects,
    				Omits: db.Statement.Omits, JoinType: joinType,
    			}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/net/idna/trieval.go

    	return c&0x3 != 0
    }
    
    func (c info) category() category {
    	small := c & catSmallMask
    	if small != 0 {
    		return category(small)
    	}
    	return category(c & catBigMask)
    }
    
    func (c info) joinType() info {
    	if c.isMapped() {
    		return 0
    	}
    	return (c >> joinShift) & joinMask
    }
    
    func (c info) isModifier() bool {
    	return c&(modifier|catSmallMask) == modifier
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 04:45:15 UTC 2022
    - 3K bytes
    - Viewed (0)
  5. statement.go

    	scopes               []func(*DB) *DB
    }
    
    type join struct {
    	Name     string
    	Conds    []interface{}
    	On       *clause.Where
    	Selects  []string
    	Omits    []string
    	JoinType clause.JoinType
    }
    
    // StatementModifier statement modifier interface
    type StatementModifier interface {
    	ModifyStatement(*Statement)
    }
    
    // WriteString write string
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/net/idna/idna9.0.0.go

    	}
    	// Quickly return in the absence of zero-width (non) joiners.
    	if strings.Index(s, zwj) == -1 && strings.Index(s, zwnj) == -1 {
    		return nil
    	}
    	st := stateStart
    	for i := 0; ; {
    		jt := x.joinType()
    		if s[i:i+sz] == zwj {
    			jt = joinZWJ
    		} else if s[i:i+sz] == zwnj {
    			jt = joinZWNJ
    		}
    		st = joinStates[st][jt]
    		if x.isViramaModifier() {
    			st = joinStates[st][joinVirama]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 19.2K bytes
    - Viewed (0)
  7. src/vendor/golang.org/x/net/idna/idna10.0.0.go

    	}
    	// Quickly return in the absence of zero-width (non) joiners.
    	if strings.Index(s, zwj) == -1 && strings.Index(s, zwnj) == -1 {
    		return nil
    	}
    	st := stateStart
    	for i := 0; ; {
    		jt := x.joinType()
    		if s[i:i+sz] == zwj {
    			jt = joinZWJ
    		} else if s[i:i+sz] == zwnj {
    			jt = joinZWNJ
    		}
    		st = joinStates[st][jt]
    		if x.isViramaModifier() {
    			st = joinStates[st][joinVirama]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 20.9K bytes
    - Viewed (0)
Back to top