Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 647 for model (0.05 sec)

  1. association.go

    					association.Error = associationDB.Model(nil).Where(clause.IN{Column: column, Values: values}).Delete(reflect.New(rel.FieldSchema.ModelType).Interface()).Error
    				}
    			}
    		case schema.HasOne, schema.HasMany:
    			model := reflect.New(rel.FieldSchema.ModelType).Interface()
    			tx := association.DB.Model(model)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/PerformanceTest.kt

    import jetbrains.buildServer.configs.kotlin.BuildSteps
    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    import model.CIBuildModel
    import model.PerformanceTestBuildSpec
    import model.PerformanceTestType
    import model.Stage
    
    class PerformanceTest(
        model: CIBuildModel,
        stage: Stage,
        performanceTestBuildSpec: PerformanceTestBuildSpec,
        description: String,
        performanceSubProject: String,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  3. schema/schema_test.go

    		{Name: "ID", DBName: "id", BindNames: []string{"Model", "ID"}, DataType: schema.Uint, PrimaryKey: true, Tag: `gorm:"primarykey"`, TagSettings: map[string]string{"PRIMARYKEY": "PRIMARYKEY"}, Size: 64, HasDefaultValue: true, AutoIncrement: true},
    		{Name: "CreatedAt", DBName: "created_at", BindNames: []string{"Model", "CreatedAt"}, DataType: schema.Time},
    		{Name: "UpdatedAt", DBName: "updated_at", BindNames: []string{"Model", "UpdatedAt"}, DataType: schema.Time},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/Gradleception.kt

    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import model.CIBuildModel
    import model.Stage
    
    /**
     * Build a Gradle distribution (dogfood-first) and use this distribution to build a distribution again (dogfood-second).
     * Use `dogfood-second` to run `test sanityCheck`.
     */
    class Gradleception(
        model: CIBuildModel,
        stage: Stage,
        buildJvm: Jvm,
        jvmDescription: String,
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Thu May 01 14:55:05 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

    import jetbrains.buildServer.configs.kotlin.buildSteps.script
    import model.CIBuildModel
    import model.Stage
    import model.StageName
    import model.TestCoverage
    import model.TestType
    
    class FlakyTestQuarantineTrigger(
        model: CIBuildModel,
        flakyTestQuarantineProject: FlakyTestQuarantineProject,
    ) : OsAwareBaseGradleBuildType(os = flakyTestQuarantineProject.os, init = {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jul 29 03:24:58 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. compat/maven-compat/pom.xml

            <artifactId>modello-maven-plugin</artifactId>
            <configuration>
              <version>1.0.0</version>
              <models>
                <model>src/main/mdo/profiles.mdo</model>
                <model>src/main/mdo/paramdoc.mdo</model>
              </models>
            </configuration>
            <executions>
              <execution>
                <id>modello</id>
                <goals>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun Jun 29 22:37:39 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. tests/associations_many2many_test.go

    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Languages").Find(&user2.Languages)
    
    	CheckUser(t, user2, user)
    
    	// Count
    	AssertAssociationCount(t, user, "Languages", 2, "")
    
    	// Append
    	language := Language{Code: "language-many2many-append", Name: "language-many2many-append"}
    	DB.Create(&language)
    
    	if err := DB.Model(&user2).Association("Languages").Append(&language); err != nil {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Jun 10 13:05:19 UTC 2023
    - 13.2K bytes
    - Viewed (0)
  8. schema/relationship_test.go

    	} else {
    		for _, rel := range relations {
    			checkSchemaRelation(t, s, rel)
    		}
    	}
    }
    
    func TestBelongsToOverrideForeignKey(t *testing.T) {
    	type Profile struct {
    		gorm.Model
    		Name string
    	}
    
    	type User struct {
    		gorm.Model
    		Profile      Profile `gorm:"ForeignKey:ProfileRefer"`
    		ProfileRefer int
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t00/ProjectInheritanceTest.java

    /**
     * A test which demonstrates maven's recursive inheritance where
     * a distinct value is taken from each parent contributing to
     * the final model of the project being assembled. There is no
     * overriding going on amongst the models being used in this test:
     * each model in the lineage is providing a value that is not present
     * anywhere else in the lineage. We are just making sure that values
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

            checkCleanM2AndAndroidUserHome(os, buildType)
        }
    
        applyDefaultDependencies(model, buildType)
    }
    
    fun applyDefaultDependencies(
        model: CIBuildModel,
        buildType: BuildType,
    ) {
        if (buildType !is CompileAll) {
            buildType.dependencies {
                compileAllDependency(CompileAll.buildTypeId(model))
            }
        }
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Jun 11 12:58:05 UTC 2025
    - 8.4K bytes
    - Viewed (0)
Back to top