Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for person_id (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/joins_table_test.go

    		t.Fatalf("Failed to delete address, got error %v", err)
    	}
    
    	if len(person.Addresses) != 1 {
    		t.Fatalf("Should have one address left")
    	}
    
    	if DB.Find(&[]PersonAddress{}, "person_id = ?", person.ID).RowsAffected != 1 {
    		t.Fatalf("Should found one address")
    	}
    
    	var addresses2 []Address
    	if err := DB.Model(&person).Association("Addresses").Find(&addresses2); err != nil || len(addresses2) != 1 {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Sep 10 13:46:18 GMT 2020
    - 3.5K bytes
    - Click Count (1)
  2. tests/scan_test.go

    	address1 := Address{Name: "address 1"}
    	address2 := Address{Name: "address 2"}
    	DB.Save(&address1).Save(&address2)
    
    	DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address1.ID)})
    	DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address2.ID)})
    	DB.Create(&PersonAddress{PersonID: person2.ID, AddressID: int(address1.ID)})
    
    	var personAddressInfoList []*PersonAddressInfo
    	if err := DB.Select("people.*, addresses.*").
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Wed Jun 12 10:57:36 GMT 2024
    - 10.9K bytes
    - Click Count (0)
  3. .ci/scripts/packaging-test.sh

            # FIXME: The base image should not have rpm installed
            sudo rm -Rf /usr/bin/rpm
            # Work around incorrect lintian version
            #  https://github.com/elastic/elasticsearch/issues/48573
            if [ $VERSION_ID == 10 ] ; then
                sudo apt-get install -y --allow-downgrades lintian=2.15.0
            fi
        fi
    else
        cat /etc/issue || true
    fi
    
    sudo bash -c 'cat > /etc/sudoers.d/elasticsearch_vars'  << SUDOERS_VARS
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Thu May 06 21:46:09 GMT 2021
    - 2.3K bytes
    - Click Count (0)
  4. schema/relationship_test.go

    			References: []Reference{
    				{"ID", "Person", "PersonID", "likes", "", true},
    				{"ID", "Thing", "ThingID", "likes", "", false},
    			},
    		},
    		Relation{
    			Name: "Dislikes", Type: schema.Many2Many, Schema: "Person", FieldSchema: "Thing",
    			JoinTable: JoinTable{Name: "dislikes", Table: "dislikes"},
    			References: []Reference{
    				{"ID", "Person", "PersonID", "dislikes", "", true},
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Mon Aug 18 11:44:52 GMT 2025
    - 26.5K bytes
    - Click Count (0)
  5. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/docker/DockerSupportService.java

                return Collections.emptyList();
            }
        }
    
        // visible for testing
        static String deriveId(Map<String, String> values) {
            return values.get("ID") + "-" + values.get("VERSION_ID");
        }
    
        // visible for testing
        static Map<String, String> parseOsRelease(final List<String> osReleaseLines) {
            final Map<String, String> values = new HashMap<>();
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 14.8K bytes
    - Click Count (0)
Back to Top