- Sort Score
- Num 10 results
- Language All
Results 1 - 8 of 8 for forceSign (0.08 seconds)
-
schema/relationship.go
schema.err = fmt.Errorf("invalid polymorphic foreign keys %+v for %v on field %s", relation.foreignKeys, schema, field.Name) } } if primaryKeyField == nil { schema.err = fmt.Errorf("invalid polymorphic type %v for %v on field %s, missing primaryKey field", relation.FieldSchema, schema, field.Name) return } // use same data type for foreign keys if copyableDataType(primaryKeyField.DataType) {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Nov 16 04:11:05 GMT 2025 - 23.1K bytes - Click Count (1) -
impl/maven-core/src/main/java/org/apache/maven/classrealm/DefaultClassRealmManager.java
* @param parentImports The packages/types to import from the parent realm, may be {@code null}. * @param foreignImports The packages/types to import from foreign realms, may be {@code null}. * @param artifacts The artifacts to add to the realm, may be {@code null}. Unresolved artifacts (i.e. with a * missing file) will automatically be excluded from the realm.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 13.5K bytes - Click Count (0) -
tests/associations_test.go
t.Fatalf("No error occurred during clearind not null association") } } func TestForeignKeyConstraints(t *testing.T) { tidbSkip(t, "not support the foreign key feature") type Profile struct { ID uint Name string MemberID uint } type Member struct { ID uint Refer uint `gorm:"uniqueIndex"` Name string
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Fri Sep 12 04:33:27 GMT 2025 - 13.3K bytes - Click Count (0) -
association.go
} } // save associations if association.saveAssociation( /*clear*/ true, values...); association.Error != nil { return association.Error } // set old association's foreign key to null switch rel.Type { case schema.BelongsTo: if len(values) == 0 { updateMap := map[string]interface{}{} switch reflectValue.Kind() { case reflect.Slice, reflect.Array:
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun Oct 26 12:09:12 GMT 2025 - 23.6K bytes - Click Count (0) -
callbacks/preload.go
fieldValues[idx], _ = field.ValueOf(tx.Statement.Context, elem) } datas, ok := identityMap[utils.ToStringKey(fieldValues...)] if !ok { return fmt.Errorf("failed to assign association %#v, make sure foreign fields exists", elem.Interface()) } for _, data := range datas { reflectFieldValue := rel.Field.ReflectValueOf(tx.Statement.Context, data)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 11.7K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.h
// `len`. The format is subject to change in the future. // The returned string is heap-allocated, and caller should call free() on it. // // Do not return const char*, because some foreign language binding // (e.g. swift) cannot then call free() on the returned pointer. TF_CAPI_EXPORT extern char* TF_FunctionDebugString(TF_Function* func, size_t* len);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 15.1K bytes - Click Count (0) -
tests/associations_many2many_test.go
t.Errorf("Error happened when clear Languages, got %v", err) } AssertAssociationCount(t, user2, "Languages", 0, "after clear") } func TestMany2ManyOmitAssociations(t *testing.T) { tidbSkip(t, "not support the foreign key feature") user := *GetUser("many2many_omit_associations", Config{Languages: 2}) if err := DB.Omit("Languages.*").Create(&user).Error; err == nil {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Jun 10 13:05:19 GMT 2023 - 13.2K bytes - Click Count (0) -
tests/multi_primary_keys_test.go
t.Skip("skip sqlite, sqlserver due to it doesn't support multiple primary keys with auto increment") } if mysqlVersionAtLeast(8, 4) { t.Skip("skip mysql 8.4+ due to stricter foreign key requirements for non-unique referenced keys") } if name := DB.Dialector.Name(); name == "postgres" { t.Skip("skip postgres due to it only allow unique constraint matching given keys") }
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:27:38 GMT 2026 - 13.3K bytes - Click Count (0)