Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 450 for modal (0.49 sec)

  1. tests/multi_primary_keys_test.go

    	DB.Model(&blog).Association("Tags").Delete(tag5)
    	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-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

        /**
         * Gets the file model.
         *
         * @return the file model, never {@code null}.
         */
        @Nonnull
        Model getFileModel();
    
        /**
         * Gets the file model + build pom transformation, without inheritance nor interpolation.
         *
         * @return The raw model, never {@code null}.
         */
        @Nonnull
        Model getRawModel();
    
        /**
         * Gets the effective model of the parent POM.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/model/CIBuildModel.kt

                stage: Stage,
            ): OsAwareBaseGradleBuildType = BuildLogicTest(model, stage)
        },
        BuildDistributions {
            override fun create(
                model: CIBuildModel,
                stage: Stage,
            ): OsAwareBaseGradleBuildType = BuildDistributions(model, stage)
        },
        Gradleception {
            override fun create(
                model: CIBuildModel,
                stage: Stage,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Sun Aug 03 22:40:28 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  4. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelTransformer.java

         * just before validation.
         *
         * @param model the input model
         * @return the transformed model, or the input model if no transformation is needed
         * @throws ModelTransformerException
         */
        @Nonnull
        default Model transformFileModel(@Nonnull Model model) throws ModelTransformerException {
            return model;
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Apr 03 13:33:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformer.java

    import org.apache.maven.api.annotations.Nonnull;
    import org.apache.maven.api.model.Model;
    
    /**
     * A model transformer.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ModelTransformer {
    
        /**
         * Apply a transformation on the file model.
         *
         * @param model the input model
         * @param problems the problem collector to report any issues encountered during transformation
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sat Sep 28 09:03:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.building.DefaultModelBuildingRequest;
    import org.apache.maven.model.building.ModelBuildingRequest;
    import org.apache.maven.model.building.ModelProblem;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.building.ModelProblemCollectorRequest;
    
    /**
     */
    @Deprecated
    @Named
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. tests/named_polymorphic_test.go

    	}
    
    	if DB.Model(&hamster2).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's toys count should be 1 after Append")
    	}
    
    	// Replace
    	DB.Model(&hamster).Association("PreferredToy").Replace(&Toy{
    		Name: "bike 3",
    	})
    
    	DB.Model(&hamster).Association("OtherToy").Replace(&Toy{
    		Name: "treadmill 3",
    	})
    
    	hamsterToy = Toy{}
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jul 08 09:59:40 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/configurations/SanityCheck.kt

    package configurations
    
    import common.Os
    import common.buildScanTagParam
    import common.getBuildScanCustomValueParam
    import model.CIBuildModel
    import model.Stage
    
    class SanityCheck(
        model: CIBuildModel,
        stage: Stage,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
            id(buildTypeId(model))
            name = "Sanity Check"
            description = "Static code analysis, checkstyle, release notes verification, etc."
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  9. tests/joins_table_test.go

    	}
    
    	if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 {
    		t.Fatalf("Should found soft deleted addresses with unscoped")
    	}
    
    	DB.Model(&person).Association("Addresses").Clear()
    
    	if DB.Model(&person).Association("Addresses").Count() != 0 {
    		t.Fatalf("Should deleted all addresses")
    	}
    
    	if DB.Unscoped().Model(&person).Association("Addresses").Count() != 2 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Sep 10 13:46:18 UTC 2020
    - 3.5K bytes
    - Viewed (1)
  10. tests/associations_has_many_test.go

    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Pets").Find(&user2.Pets)
    	CheckUser(t, user2, user)
    
    	var pets []Pet
    	DB.Model(&user).Where("name = ?", user.Pets[0].Name).Association("Pets").Find(&pets)
    
    	if len(pets) != 1 {
    		t.Fatalf("should only find one pets, but got %v", len(pets))
    	}
    
    	CheckPet(t, pets[0], *user.Pets[0])
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top