- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 1,070 for field (0.02 seconds)
-
tests/non_std_test.go
} animal = Animal{From: "somewhere"} // No name fields, should be filled with the default value (galeone) DB.Save(&animal).Update("From", "a nice place") // The name field should be untouched DB.First(&animal, animal.Counter) if animal.Name != "galeone" { t.Errorf("Name fields shouldn't be changed if untouched, but got %v", animal.Name) } // When changing a field with a default value, the change must occurCreated: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Wed May 08 04:07:58 GMT 2024 - 1.9K bytes - Click Count (0) -
callbacks/create.go
field := stmt.Schema.FieldsByDBName[column.Name] if values.Values[0][idx], isZero = field.ValueOf(stmt.Context, stmt.ReflectValue); isZero { if field.DefaultValueInterface != nil { values.Values[0][idx] = field.DefaultValueInterface stmt.AddError(field.Set(stmt.Context, stmt.ReflectValue, field.DefaultValueInterface)) } else if field.AutoCreateTime > 0 || field.AutoUpdateTime > 0 {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Tue Jul 29 11:06:13 GMT 2025 - 13K bytes - Click Count (0) -
schema/schema.go
if fieldStruct := modelType.Field(i); ast.IsExported(fieldStruct.Name) { if field := schema.ParseField(fieldStruct); field.EmbeddedSchema != nil { schema.Fields = append(schema.Fields, field.EmbeddedSchema.Fields...) } else { schema.Fields = append(schema.Fields, field) } } } for _, field := range schema.Fields { if field.DBName == "" && field.DataType != "" {
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Fri Oct 31 12:13:56 GMT 2025 - 13.1K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java
Map<String, Field> fieldMap = new HashMap<>(); for (Object member : new DeclaredMembers(beanType, View.FIELDS)) { Field field = (Field) member; if (!Modifier.isStatic(field.getModifiers())) { fieldMap.put(field.getName(), field); } } return fieldMap; } /**
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Nov 12 14:59:46 GMT 2025 - 12.3K bytes - Click Count (0) -
api/maven-api-settings/src/main/mdo/settings.mdo
</field> <field> <name>exists</name> <version>1.0.0+</version> <type>String</type> <description> The name of the file that should exist to activate a profile. Please note, that missing and exists fields cannot be used together. Only one of them should be used at any one time. </description> </field> </fields> </class>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sun May 18 09:15:56 GMT 2025 - 33.8K bytes - Click Count (0) -
fastapi/dependencies/utils.py
return True def _should_embed_body_fields(fields: list[ModelField]) -> bool: if not fields: return False # More than one dependency could have the same field, it would show up as multiple # fields but it's the same one, so count them by name body_param_names_set = {field.name for field in fields} # A top level field has to be a single field, not multiple if len(body_param_names_set) > 1:Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 37.6K bytes - Click Count (3) -
migrator/migrator.go
expr.SQL = m.DataTypeOf(field) if field.NotNull { expr.SQL += " NOT NULL" } if field.HasDefaultValue && (field.DefaultValueInterface != nil || field.DefaultValue != "") { if field.DefaultValueInterface != nil { defaultStmt := &gorm.Statement{Vars: []interface{}{field.DefaultValueInterface}} m.Dialector.BindVarTo(defaultStmt, defaultStmt, field.DefaultValueInterface)
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun Oct 26 12:31:09 GMT 2025 - 29.7K bytes - Click Count (0) -
api/maven-api-metadata/src/main/mdo/metadata.mdo
</field> <field> <name>artifactId</name> <version>1.0.0+</version> <type>String</type> <description>The artifactId when this directory represents "groupId/artifactId" or "groupId/artifactId/version".</description> </field> <field> <name>versioning</name> <version>1.0.0+</version>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed May 15 17:32:27 GMT 2024 - 15.8K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/goals/Init.java
"Configure " + dispatcherMeta.displayName()); context.addInHeader(""); for (DispatcherMeta.Field field : dispatcherMeta.fields()) { String fieldKey = field.getKey(); String fieldDescription = "Configure " + fieldKey + ": " + field.getDescription(); if (field.getOptions().isPresent()) { // list options ListPromptBuilder listPromptBuilder =
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 12K bytes - Click Count (0) -
compat/maven-compat/src/main/mdo/profiles.mdo
purposes.</description> </field> <field> <name>activation</name> <version>1.0.0</version> <description><![CDATA[The conditional logic which will automatically trigger the inclusion of this profile.]]></description> <association> <type>Activation</type> </association> </field> <field> <name>properties</name>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jan 22 11:03:29 GMT 2025 - 13.8K bytes - Click Count (0)