- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Rel (0.01 sec)
-
association.go
association.Error = rel.Field.Set(association.DB.Statement.Context, reflectValue.Index(i), reflect.Zero(rel.Field.FieldType).Interface()) } case reflect.Struct: association.Error = rel.Field.Set(association.DB.Statement.Context, reflectValue, reflect.Zero(rel.Field.FieldType).Interface()) } for _, ref := range rel.References { updateMap[ref.ForeignKey.DBName] = nil }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Wed Jun 12 10:49:45 UTC 2024 - 21.5K bytes - Viewed (0) -
migrator/migrator.go
return &uni, stmt.Table } getTable := func(rel *schema.Relationship) string { switch rel.Type { case schema.HasOne, schema.HasMany: return rel.FieldSchema.Table case schema.Many2Many: return rel.JoinTable.Table } return stmt.Table } for _, rel := range stmt.Schema.Relationships.Relations { if constraint := rel.ParseConstraint(); constraint != nil && constraint.Name == name {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Jun 06 02:35:01 UTC 2025 - 29.5K bytes - Viewed (0) -
callbacks/associations.go
if elems.Len() > 0 { assignmentColumns := make([]string, 0, len(rel.References)) for _, ref := range rel.References { assignmentColumns = append(assignmentColumns, ref.ForeignKey.DBName) } saveAssociations(db, rel, elems, selectColumns, restricted, assignmentColumns) } case reflect.Struct: if _, zero := rel.Field.ValueOf(db.Statement.Context, db.Statement.ReflectValue); !zero {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Feb 13 06:16:26 UTC 2025 - 14.4K bytes - Viewed (0) -
schema/relationship.go
return } func (rel *Relationship) ParseConstraint() *Constraint { str := rel.Field.TagSettings["CONSTRAINT"] if str == "-" { return nil } if rel.Type == BelongsTo { for _, r := range rel.FieldSchema.Relationships.Relations { if r != rel && r.FieldSchema == rel.Schema && len(rel.References) == len(r.References) { matched := true
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Mon Aug 18 11:44:52 UTC 2025 - 23.1K bytes - Viewed (1) -
callbacks/preload.go
inlineConds []interface{} ) if rel.JoinTable != nil { var ( joinForeignFields = make([]*schema.Field, 0, len(rel.References)) joinRelForeignFields = make([]*schema.Field, 0, len(rel.References)) joinForeignKeys = make([]string, 0, len(rel.References)) ) for _, ref := range rel.References { if ref.OwnPrimaryKey {
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 11.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
} else { ProjectRelocation rel = retrieveRelocatedProject(artifact, request); if (rel == null) { return null; } pomArtifact = rel.pomArtifact; relocatedArtifact = rel.relocatedArtifact; if (rel.project == null) {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Mar 26 10:49:22 UTC 2025 - 30.4K bytes - Viewed (0) -
scan.go
break } } if rel, ok := sch.Relationships.Relations[names[0]]; ok { subNameCount := len(names) // nested relation fields relFields := make([]*schema.Field, 0, subNameCount-1) relFields = append(relFields, rel.Field) for _, name := range names[1 : subNameCount-1] { rel = rel.FieldSchema.Relationships.Relations[name]
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 10.4K bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/mips64.s
BEQ R1, 2(PC) JAL foo+0(SB) // CALL foo(SB) // 0c000021 // // BEQ/BNE // // LBRA rreg ',' rel // { // outcode(int($1), &$2, 0, &$4); // } label1: BEQ R1, 1(PC) // BEQ R1, 1(PC) // 10200001 BEQ R1, label1 // BEQ R1, 18 // 1020fffd // LBRA rreg ',' sreg ',' rel // { // outcode(int($1), &$2, 0, &$4); // } label2: BEQ R1, R2, 1(PC) // BEQ R1, R2, 1(PC) // 10220001
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Tue Aug 08 12:17:12 UTC 2023 - 12.4K bytes - Viewed (0) -
src/test/resources/plugin/repo2/index.html
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 13 07:34:14 UTC 2019 - 10.5K bytes - Viewed (0) -
src/main/webapp/WEB-INF/view/advance.jsp
<c:if test="${osddLink}"> <link rel="search" type="application/opensearchdescription+xml" href="${fe:url('/osdd')}" title="<la:message key="labels.index_osdd_title" />" /> </c:if> <link href="${fe:url('/css/bootstrap.min.css')}" rel="stylesheet" type="text/css" /> <link href="${fe:url('/css/style.css')}" rel="stylesheet" type="text/css" /> <link href="${fe:url('/css/font-awesome.min.css')}" rel="stylesheet" type="text/css" /> </head>
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jan 18 12:09:07 UTC 2025 - 14.1K bytes - Viewed (0)