Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,008 for Id (0.09 sec)

  1. tests/preload_test.go

    	}
    
    	var user2 User
    	DB.Preload("Pets.Toy").Find(&user2, "id = ?", user.ID)
    	CheckUser(t, user2, user)
    
    	var user3 User
    	DB.Preload(clause.Associations+"."+clause.Associations).Find(&user3, "id = ?", user.ID)
    	CheckUser(t, user3, user)
    
    	var user4 *User
    	DB.Preload("Pets.Toy").Find(&user4, "id = ?", user.ID)
    	CheckUser(t, *user4, user)
    }
    
    func TestNestedPreloadForSlice(t *testing.T) {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:00:47 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  2. tests/joins_test.go

    	user := User{Name: "kingGo", CompanyID: &companyB.ID}
    	DB.Create(&user)
    
    	query := DB.Model(&User{}).Joins("Company")
    
    	var total int64
    	query.Count(&total)
    
    	var result User
    
    	if err := query.First(&result, user.ID).Error; err != nil {
    		t.Fatalf("Failed, got error: %v", err)
    	}
    
    	if result.ID != user.ID {
    		t.Fatalf("result's id, %d, doesn't match user's id, %d", result.ID, user.ID)
    	}
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. tests/create_test.go

    	}
    
    	if _, ok := record["@id"]; ok && fmt.Sprint(res["id"]) != fmt.Sprint(record["@id"]) {
    		t.Fatalf("failed to create data from map with table, @id != id, got %v, expect %v", res["id"], record["@id"])
    	}
    
    	// case 2: create from *map[string]interface{}
    	record1 := map[string]interface{}{"name": "create_from_map_with_table_1", "age": 18}
    	tableDB2 := DB.Table("users")
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  4. build-logic/uber-plugins/src/main/kotlin/gradlebuild.java-library.gradle.kts

     */
    
    plugins {
        `java-library`
        id("gradlebuild.dependency-modules")
        id("gradlebuild.repositories")
        id("gradlebuild.minify")
        id("gradlebuild.reproducible-archives")
        id("gradlebuild.unittest-and-compile")
        id("gradlebuild.test-fixtures")
        id("gradlebuild.distribution-testing")
        id("gradlebuild.incubation-report")
        id("gradlebuild.strict-compile")
        id("gradlebuild.code-quality")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 17:16:23 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/PluginDependenciesSpecScopeTest.kt

        @Test
        fun `given a single id, it should create a single request with no version`() {
            expecting(plugin(id = "plugin-id")) {
                id("plugin-id")
            }
        }
    
        @Test
        fun `given a single id and apply value, it should create a single request with no version`() {
            listOf(true, false).forEach { applyValue ->
                expecting(plugin(id = "plugin-id", isApply = applyValue)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 06:46:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. apache-maven/pom.xml

              </plugin>
            </plugins>
          </build>
        </profile>
        <profile>
          <id>apache-release</id>
          <build>
            <plugins>
              <plugin>
                <artifactId>maven-assembly-plugin</artifactId>
                <executions>
                  <execution>
                    <id>make-src-assembly</id>
                    <goals>
                      <goal>single</goal>
                    </goals>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 14:07:09 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/stackalloc.go

    				live.remove(v.ID)
    				for _, id := range live.contents() {
    					// Note: args can have different types and still interfere
    					// (with each other or with other values). See issue 23522.
    					if s.values[v.ID].typ.Compare(s.values[id].typ) == types.CMPeq || hasAnyArgOp(v) || s.values[id].isArg {
    						s.interfere[v.ID] = append(s.interfere[v.ID], id)
    						s.interfere[id] = append(s.interfere[id], v.ID)
    					}
    				}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 21:29:41 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. maven-core/src/test/resources/apiv4-repo/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom

        <developer>
          <id>rdonkin</id>
          <name>Robert Burrell Donkin</name>
          <email>rdonkin at apache dot org</email>
          <organization>Apache Software Foundation</organization>
        </developer>
        <developer>
          <id>donaldp</id>
          <name>Peter Donald</name>
          <email>donaldp at apache dot org</email>
          <organization></organization>
        </developer>
        <developer>
          <id>costin</id>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Dec 19 19:08:55 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  9. schema/schema_test.go

    	}
    
    	fields := []schema.Field{
    		{Name: "ID", DBName: "id", BindNames: []string{"CorpBase", "Model", "ID"}, DataType: schema.Uint, PrimaryKey: true, Size: 64, HasDefaultValue: true, AutoIncrement: true, TagSettings: map[string]string{"PRIMARYKEY": "PRIMARYKEY"}},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Dec 15 08:31:23 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  10. gradle/verification-metadata.xml

             <trusted-key id="0A123C1ED3F13A6A0140E166C71FB765CD9DE313" group="org.apache.ant"/>
             <trusted-key id="0CB5871FB7BF3B351614BBF6CA85FFE638D4407A" group="it.unimi.dsi" name="fastutil"/>
             <trusted-key id="0E18EAE07B7774EAC5DB3F2113BB90CE8EAFBE37" group="com.microsoft.playwright"/>
             <trusted-key id="120D6F34E627ED3A772EBBFE55C7E5E701832382" group="org.yaml" name="snakeyaml"/>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 21 22:30:36 UTC 2024
    - 90.1K bytes
    - Viewed (0)
Back to top