Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for association (0.1 sec)

  1. association.go

    		association.Error = err
    	}
    
    	return association
    }
    
    func (association *Association) Unscoped() *Association {
    	return &Association{
    		DB:           association.DB,
    		Relationship: association.Relationship,
    		Error:        association.Error,
    		Unscope:      true,
    	}
    }
    
    func (association *Association) Find(out interface{}, conds ...interface{}) error {
    	if association.Error == nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 09 11:07:31 UTC 2024
    - 115.1K bytes
    - Viewed (0)
  3. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 29 05:48:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. tests/associations_has_many_test.go

    	}
    
    	// test delete
    	if err := tx.Model(&item).Association("Contents").Unscoped().Delete(&contents[0]); err != nil {
    		t.Errorf("failed to delete Contents, got error: %v", err)
    	}
    	if count := tx.Model(&item).Association("Contents").Count(); count != 2 {
    		t.Errorf("expected %d contents, got %d", 2, count)
    	}
    
    	// test clear
    	if err := tx.Model(&item).Association("Contents").Unscoped().Clear(); err != nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. tests/associations_has_one_test.go

    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Account").Find(&user2.Account)
    	CheckUser(t, user2, user)
    
    	// Count
    	AssertAssociationCount(t, user, "Account", 1, "")
    
    	// Append
    	account := Account{Number: "account-has-one-append"}
    
    	if err := DB.Model(&user2).Association("Account").Append(&account); err != nil {
    		t.Fatalf("Error happened when append account, got %v", err)
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Oct 08 13:46:42 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  7. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  8. 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 Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. 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>
        </class>
        <class>
          <name>ToolchainModel</name>
          <superClass>TrackableBase</superClass>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. api/maven-api-plugin/src/main/mdo/plugin.mdo

              <description></description>
              <association>
                <type>Parameter</type>
                <multiplicity>*</multiplicity>
              </association>
            </field>
            <field xdoc.separator="blank">
              <name>resolutions</name>
              <version>2.0.0+</version>
              <description></description>
              <association>
                <type>Resolution</type>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 16 14:16:22 UTC 2024
    - 24.9K bytes
    - Viewed (0)
Back to top