Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 524 for Join (0.02 sec)

  1. clause/joins_test.go

    			name: "RIGHT JOIN",
    			join: clause.Join{
    				Type:  clause.RightJoin,
    				Table: clause.Table{Name: "user"},
    				ON: clause.Where{
    					Exprs: []clause.Expression{clause.Eq{clause.Column{Table: "user_info", Name: "user_id"}, clause.PrimaryColumn}},
    				},
    			},
    			sql: "RIGHT JOIN `user` ON `user_info`.`user_id` = `users`.`id`",
    		},
    		{
    			name: "INNER JOIN",
    			join: clause.Join{
    				Type:  clause.InnerJoin,
    Registered: 2025-05-25 09:35
    - Last Modified: 2022-11-03 13:03
    - 2.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/JoinerTest.java

        assertEquals("", j.join(ImmutableMultimap.of().entries()));
        assertEquals("", j.join(ImmutableMultimap.of().entries().iterator()));
        assertEquals(":", j.join(ImmutableMultimap.of("", "").entries()));
        assertEquals(":", j.join(ImmutableMultimap.of("", "").entries().iterator()));
        assertEquals("1:a;1:b", j.join(ImmutableMultimap.of("1", "a", "1", "b").entries()));
    Registered: 2025-05-30 12:43
    - Last Modified: 2025-05-13 17:27
    - 12.7K bytes
    - Viewed (0)
  3. internal/event/target/nats_tls_contrib_test.go

    	s, opts := natsserver.RunServerWithConfig(filepath.Join("testdata", "contrib", "nats_tls.conf"))
    	defer s.Shutdown()
    
    	clientConfig := &NATSArgs{
    		Enable: true,
    		Address: xnet.Host{
    			Name:      "localhost",
    			Port:      (xnet.Port(opts.Port)),
    			IsPortSet: true,
    		},
    		Subject:       "test",
    		Secure:        true,
    		CertAuthority: path.Join("testdata", "contrib", "certs", "root_ca_cert.pem"),
    	}
    
    Registered: 2025-05-25 19:28
    - Last Modified: 2025-04-22 22:12
    - 2.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/synonym/SynonymItem.java

                    return StringUtils.join(newInputs, ",");
                }
                return StringUtils.join(newInputs, ",") + "=>" + StringUtils.join(newOutputs, ",");
            }
            if (Arrays.equals(inputs, outputs)) {
                return StringUtils.join(inputs, ",");
            }
            return StringUtils.join(inputs, ",") + "=>" + StringUtils.join(outputs, ",");
        }
    
    Registered: 2025-05-26 08:04
    - Last Modified: 2025-03-15 06:53
    - 3.7K bytes
    - Viewed (0)
  5. tests/joins_test.go

    	}
    
    	var users3 []User
    	DB.Joins("inner join pets on pets.user_id = users.id AND pets.name = ?", user.Pets[0].Name).Joins("join accounts on accounts.user_id = users.id AND accounts.number = ?", user.Account.Number).Where("users.name = ?", user.Name).First(&users3)
    	if len(users3) != 1 {
    		t.Errorf("should find one users using multiple left join conditions, but got %v", len(users3))
    Registered: 2025-05-25 09:35
    - Last Modified: 2025-05-25 07:40
    - 15K bytes
    - Viewed (0)
  6. clause/joins.go

    			builder.WriteString(string(join.Type))
    			builder.WriteByte(' ')
    		}
    
    		builder.WriteString("JOIN ")
    		builder.WriteQuoted(join.Table)
    
    		if len(join.ON.Exprs) > 0 {
    			builder.WriteString(" ON ")
    			join.ON.Build(builder)
    		} else if len(join.Using) > 0 {
    			builder.WriteString(" USING (")
    			for idx, c := range join.Using {
    				if idx > 0 {
    					builder.WriteByte(',')
    				}
    				builder.WriteQuoted(c)
    Registered: 2025-05-25 09:35
    - Last Modified: 2025-05-25 07:40
    - 1.5K bytes
    - Viewed (0)
  7. cni/pkg/install/binaries_test.go

    	srcDir := t.TempDir()
    	file.WriteOrFail(t, filepath.Join(srcDir, "testFile1"), []byte("content"))
    	file.WriteOrFail(t, filepath.Join(srcDir, "testFile2"), []byte("content"))
    
    	targetDir := t.TempDir()
    	tmpFile1 := filepath.Join(targetDir, "testFile1.tmp.3816169537")
    	tmpFile2 := filepath.Join(targetDir, "testFile2.tmp.4977877")
    	file.WriteOrFail(t, tmpFile1, []byte("content"))
    	file.WriteOrFail(t, tmpFile2, []byte("content"))
    
    Registered: 2025-05-28 22:53
    - Last Modified: 2024-12-16 10:10
    - 3K bytes
    - Viewed (0)
  8. tests/preload_test.go

    	value1 := Value{
    		Name: "value",
    		Nested: Nested{
    			Preloads: []*Preload{
    				{Value: "p1"}, {Value: "p2"},
    			},
    			Join: Join{Value: "j1"},
    		},
    	}
    	value2 := Value{
    		Name: "value2",
    		Nested: Nested{
    			Preloads: []*Preload{
    				{Value: "p3"}, {Value: "p4"}, {Value: "p5"},
    			},
    			Join: Join{Value: "j2"},
    		},
    	}
    
    Registered: 2025-05-25 09:35
    - Last Modified: 2024-06-12 10:00
    - 15.9K bytes
    - Viewed (0)
  9. cni/pkg/plugin/plugin_dryrun_test.go

    			proxyEnv: []corev1.EnvVar{},
    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/include-exclude-ports.txt.golden"),
    		},
    		{
    			name: "tproxy",
    			annotations: map[string]string{
    				annotation.SidecarStatus.Name:           "true",
    				annotation.SidecarInterceptionMode.Name: redirectModeTPROXY,
    			},
    			proxyEnv: []corev1.EnvVar{},
    			golden:   filepath.Join(env.IstioSrc, "cni/pkg/plugin/testdata/tproxy.txt.golden"),
    Registered: 2025-05-28 22:53
    - Last Modified: 2025-03-03 21:55
    - 8.5K bytes
    - Viewed (0)
  10. callbacks/query.go

    						}
    					} else {
    						fromClause.Joins = append(fromClause.Joins, clause.Join{
    							Expression: clause.NamedExpr{SQL: join.Name, Vars: join.Conds},
    						})
    					}
    				} else {
    					fromClause.Joins = append(fromClause.Joins, clause.Join{
    						Expression: clause.NamedExpr{SQL: join.Name, Vars: join.Conds},
    					})
    				}
    			}
    
    			db.Statement.AddClause(fromClause)
    		} else {
    Registered: 2025-05-25 09:35
    - Last Modified: 2025-05-25 07:40
    - 10.4K bytes
    - Viewed (1)
Back to top