Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 59 for Association (0.07 seconds)

  1. api/maven-api-settings/src/main/mdo/settings.mdo

                <type>Repository</type>
                <multiplicity>*</multiplicity>
              </association>
            </field>
            <field>
              <name>pluginRepositories</name>
              <version>1.3.0+</version>
              <description>
                The lists of the remote repositories for discovering plugins.
              </description>
              <association>
                <type>Repository</type>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  2. clause/joins.go

    	RightJoin JoinType = "RIGHT"
    )
    
    type JoinTarget struct {
    	Type        JoinType
    	Association string
    	Subquery    Expression
    	Table       string
    }
    
    func Has(name string) JoinTarget {
    	return JoinTarget{Type: InnerJoin, Association: name}
    }
    
    func (jt JoinType) Association(name string) JoinTarget {
    	return JoinTarget{Type: jt, Association: name}
    }
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun May 25 07:40:40 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  3. generics.go

    				data[a.Column.Name] = a.Value
    			}
    			return assoc.Append(data)
    		}, op.Association)
    	}
    
    	return s.handleAssociationForOwners(base, ctx, func(owner T, assoc *Association) error {
    		return assoc.Append(op.Values...)
    	}, op.Association)
    }
    
    // handleAssociationForOwners is a helper function that handles associations for all owners
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  4. api/maven-api-plugin/src/main/mdo/lifecycle.mdo

          <fields>
            <field>
              <name>lifecycles</name>
              <version>1.0.0+</version>
              <association xml.itemsStyle="flat">
                <type>Lifecycle</type>
                <multiplicity>*</multiplicity>
              </association>
            </field>
          </fields>
        </class>
        <class>
          <name>Lifecycle</name>
          <version>1.0.0+</version>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/mdo/profiles.mdo

              <association>
                <type>Activation</type>
              </association>
            </field>
            <field>
              <name>properties</name>
              <description>Extended configuration specific to this profile goes
                here.</description>
              <type>Properties</type>
              <association xml.mapStyle="inline">
                <type>String</type>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  6. api/maven-api-model/src/main/mdo/maven.mdo

              </description>
              <association>
                <type>License</type>
                <multiplicity>*</multiplicity>
              </association>
            </field>
            <field xdoc.separator="blank">
              <name>developers</name>
              <version>3.0.0+</version>
              <description>Describes the committers of a project.</description>
              <association>
                <type>Developer</type>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Nov 26 03:07:35 GMT 2025
    - 133.3K bytes
    - Click Count (0)
  7. api/maven-api-metadata/src/main/mdo/metadata.mdo

            </field>
            <field>
              <name>versioning</name>
              <version>1.0.0+</version>
              <association>
                <type>Versioning</type>
              </association>
              <description>Versioning information when this directory represents "groupId/artifactId" or "groupId/artifactId/version".</description>
            </field>
            <field>
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed May 15 17:32:27 GMT 2024
    - 15.8K bytes
    - Click Count (0)
  8. tests/delete_test.go

    	}
    
    	if err := DB.Select(clause.Associations, "Pets.Toy").Delete(&user).Error; err != nil {
    		t.Fatalf("failed to delete user, got error %v", err)
    	}
    
    	for key, value := range map[string]int64{"Account": 1, "Pets": 2, "Toys": 4, "Company": 1, "Manager": 1, "Team": 1, "Languages": 0, "Friends": 0} {
    		if count := DB.Unscoped().Model(&user).Association(key).Count(); count != value {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  9. tests/associations_test.go

    	var emptyUser User
    	var err error
    	// belongs to
    	err = DB.Model(&emptyUser).Association("Company").Delete(&user1.Company)
    	AssertEqual(t, err, gorm.ErrPrimaryKeyRequired)
    	// has many
    	err = DB.Model(&emptyUser).Association("Pets").Delete(&user1.Pets)
    	AssertEqual(t, err, gorm.ErrPrimaryKeyRequired)
    	// has one
    	err = DB.Model(&emptyUser).Association("Account").Delete(&user1.Account)
    	AssertEqual(t, err, gorm.ErrPrimaryKeyRequired)
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  10. tests/generics_test.go

    		assoc := clause.Association{
    			Association: "Orders",
    			Type:        op.Type,
    		}
    
    		if assoc.Type != op.Type {
    			t.Errorf("Association type should be %s, got %v", op.TypeName, assoc.Type)
    		}
    	}
    }
    
    func TestGenericsAssociationSlice(t *testing.T) {
    	// Test that a slice of Association can be used
    	associations := []clause.Association{
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Sun Nov 02 14:09:18 GMT 2025
    - 33.7K bytes
    - Click Count (0)
Back to Top