Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for association (0.06 sec)

  1. tests/multi_primary_keys_test.go

    	var tags3 []Tag
    	DB.Model(&blog).Association("Tags").Find(&tags3)
    	if !compareTags(tags3, []string{"tag6"}) {
    		t.Fatalf("Should find 1 tags after Delete")
    	}
    
    	if DB.Model(&blog).Association("Tags").Count() != 1 {
    		t.Fatalf("Blog should has three tags after Delete")
    	}
    
    	DB.Model(&blog).Association("Tags").Delete(tag3)
    	var tags4 []Tag
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  2. 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>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. 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>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Aug 07 14:32:16 UTC 2025
    - 132.7K bytes
    - Viewed (0)
  4. 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>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 33.8K bytes
    - Viewed (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>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 22 11:03:29 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  6. 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}
    }
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. generics.go

    							db.AddError(fmt.Errorf("relation %s not found", association))
    							return nil
    						}
    					}
    				} else {
    					db.AddError(fmt.Errorf("relation %s not found", association))
    					return nil
    				}
    			}
    
    			if q.limitPerRecord > 0 {
    				if relation.JoinTable != nil {
    					tx.AddError(fmt.Errorf("many2many relation %s don't support LimitPerRecord", association))
    					return tx
    				}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 04 13:13:16 UTC 2025
    - 15.5K bytes
    - Viewed (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 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/mdo/paramdoc.mdo

              <name>expressions</name>
              <description>The list of plugin parameter expressions described by this
                document.</description>
              <association>
                <type>Expression</type>
                <multiplicity>*</multiplicity>
              </association>
            </field>
          </fields>
          <codeSegments>
            <codeSegment>
              <version>1.0.0</version>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  10. api/maven-api-toolchain/src/main/mdo/toolchains.mdo

              <name>toolchains</name>
              <version>1.0.0+</version>
              <description>The toolchain instance definition.</description>
              <association xml.itemsStyle="flat">
                <type>ToolchainModel</type>
                <multiplicity>*</multiplicity>
              </association>
            </field>
          </fields>
          <codeSegments>
            <codeSegment>
              <version>1.0.0/1.1.0</version>
              <code>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top