Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,198 for dsName (0.05 sec)

  1. callbacks/update.go

    			}
    		}
    
    		if !stmt.SkipHooks && stmt.Schema != nil {
    			for _, dbName := range stmt.Schema.DBNames {
    				field := stmt.Schema.LookUpField(dbName)
    				if field.AutoUpdateTime > 0 && value[field.Name] == nil && value[field.DBName] == nil {
    					if v, ok := selectColumns[field.DBName]; (ok && v) || !ok {
    						now := stmt.DB.NowFunc()
    						assignValue(field, now)
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/configurations/DocsTest.kt

        os: Os,
    ): String = "${model.projectId}_DocsTest_${os.asName()}"
    
    class DocsTestProject(
        model: CIBuildModel,
        stage: Stage,
        val os: Os,
        testJava: JvmCategory,
        testTypes: List<DocsTestType>,
    ) : Project({
            id(asDocsTestId(model, os))
            name = "Docs Test - ${testJava.version.toCapitalized()} ${os.asName()}"
        }) {
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jun 17 10:05:07 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. schema/field_test.go

    	}
    
    	fields := []*schema.Field{
    		{Name: "ID", DBName: "id", BindNames: []string{"ID"}, DataType: schema.Uint, PrimaryKey: true, Size: 64, Creatable: true, Updatable: true, Readable: true, HasDefaultValue: true, AutoIncrement: true},
    		{Name: "Name", DBName: "", BindNames: []string{"Name"}, DataType: "", Tag: `gorm:"-"`, Creatable: false, Updatable: false, Readable: false},
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sat Feb 19 09:02:53 UTC 2022
    - 12.7K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

        ) = "${asConfigurationId(model)}$bucket"
    
        override fun asConfigurationId(model: CIBuildModel) = "${model.projectId}_${oldUuid ?: "PerformanceTest$uuid"}"
    
        override fun asName(): String = "${type.displayName} - ${os.asName()}"
    
        override fun channel() = "${type.channel}${if (os == Os.LINUX) "" else "-${os.name.lowercase(Locale.US)}"}-%teamcity.build.branch%"
    }
    
    data class FlameGraphGeneration(
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. .teamcity/src/main/kotlin/util/AdHocPerformanceScenario.kt

    abstract class AdHocPerformanceScenario(
        os: Os,
        arch: Arch = Arch.AMD64,
    ) : BuildType({
            val id = "Util_Performance_AdHocPerformanceScenario${os.asName()}${arch.asName()}"
            name = "AdHoc Performance Scenario - ${os.asName()} ${arch.asName()}"
            id(id)
    
            applyPerformanceTestSettings(os = os, arch = arch, timeout = 420)
            artifactRules = INDIVIDUAL_PERFORAMCE_TEST_ARTIFACT_RULES
    
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  6. schema/schema_helper_test.go

    			if f.DBName != "" {
    				if field, ok := s.FieldsByDBName[f.DBName]; !ok || parsedField != field {
    					t.Errorf("schema %v failed to look up field with dbname %v", s, f.DBName)
    				}
    			}
    
    			for _, name := range []string{f.DBName, f.Name} {
    				if name != "" {
    					if field := s.LookUpField(name); field == nil || (field.Name != name && field.DBName != name) {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Thu Aug 28 02:57:17 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. tests/query_test.go

    				t.Run(name, func(t *testing.T) {
    					dbName := DB.NamingStrategy.ColumnName("", name)
    
    					switch name {
    					case "Name":
    						if _, ok := first[dbName].(string); !ok {
    							t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName])
    						}
    					case "Age":
    						if _, ok := first[dbName].(uint); !ok {
    							t.Errorf("invalid data type for %v, got %#v", dbName, first[dbName])
    						}
    					case "Birthday":
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  8. .teamcity/src/main/kotlin/common/Os.kt

    enum class Arch(
        val suffix: String,
        val nameOnLinuxWindows: String,
        val nameOnMac: String,
    ) {
        AMD64("64bit", "amd64", "x86_64"),
        AARCH64("aarch64", "aarch64", "aarch64"),
        ;
    
        fun asName() = name.lowercase().toCapitalized()
    }
    
    enum class Os(
        val agentRequirement: String,
        val androidHome: String,
        val jprofilerHome: String,
        val perfTestWorkingDir: String = "%teamcity.build.checkoutDir%",
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Aug 25 20:21:47 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  9. association.go

    				if ref.OwnPrimaryKey {
    					primaryFields = append(primaryFields, ref.PrimaryKey)
    					foreignKeys = append(foreignKeys, ref.ForeignKey.DBName)
    					updateMap[ref.ForeignKey.DBName] = nil
    				} else if ref.PrimaryValue != "" {
    					tx.Where(clause.Eq{Column: ref.ForeignKey.DBName, Value: ref.PrimaryValue})
    				}
    			}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. callbacks/create.go

    			}
    
    			for _, field := range stmt.Schema.FieldsWithDefaultDBValue {
    				if v, ok := selectColumns[field.DBName]; (ok && v) || (!ok && !restricted) && field.DefaultValueInterface == nil {
    					if rvOfvalue, isZero := field.ValueOf(stmt.Context, stmt.ReflectValue); !isZero {
    						values.Columns = append(values.Columns, clause.Column{Name: field.DBName})
    						values.Values[0] = append(values.Values[0], rvOfvalue)
    					}
    				}
    			}
    		default:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 29 11:06:13 UTC 2025
    - 13K bytes
    - Viewed (0)
Back to top