- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for relation (0.22 sec)
-
schema/relationship_test.go
"PostalAddress": { Relations: map[string]Relation{ "Country": { Name: "Country", Type: schema.BelongsTo, Schema: "Org", FieldSchema: "Country", References: []Reference{ {PrimaryKey: "ID", PrimarySchema: "Country", ForeignKey: "CountryID", ForeignSchema: "Org"}, }, }, }, }, "VisitingAddress": { Relations: map[string]Relation{ "Country": {
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Apr 15 03:20:20 GMT 2024 - 25.5K bytes - Viewed (0) -
schema/relationship.go
} func (schema *Schema) setRelation(relation *Relationship) { // set non-embedded relation if rel := schema.Relationships.Relations[relation.Name]; rel != nil { if len(rel.Field.BindNames) > 1 { schema.Relationships.Relations[relation.Name] = relation } } else { schema.Relationships.Relations[relation.Name] = relation } // set embedded relation if len(relation.Field.EmbeddedBindNames) <= 1 { return
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Mon Apr 15 03:20:20 GMT 2024 - 22.4K bytes - Viewed (0) -
callbacks/preload.go
} names := make([]string, 0, len(embeddedRelations.Relations)+len(embeddedRelations.EmbeddedRelations)) for _, relation := range embeddedRelations.Relations { // skip first struct name names = append(names, strings.Join(relation.Field.EmbeddedBindNames[1:], ".")) } for _, relations := range embeddedRelations.EmbeddedRelations { names = append(names, embeddedValues(relations)...) } return names }
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Thu Apr 25 12:21:03 GMT 2024 - 11.6K bytes - Viewed (0) -
scan.go
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]
Go - Registered: Sun Apr 28 09:35:09 GMT 2024 - Last Modified: Fri Apr 26 09:53:11 GMT 2024 - 9.8K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
{ /** Constructor for use by subclasses. */ protected Equivalence() {} /** * Returns {@code true} if the given objects are considered equivalent. * * <p>This method describes an <i>equivalence relation</i> on object references, meaning that for * all references {@code x}, {@code y}, and {@code z} (any of which may be null): * * <ul> * <li>{@code equivalent(x, x)} is true (<i>reflexive</i> property)
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 01:41:50 GMT 2024 - 14.1K bytes - Viewed (0) -
.cm/add_usual_expert.cm
# Each automation has an `if` key that defines conditions to run the automation, # as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You # can also use the constant `true` if you want to always run the actions.
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.4K bytes - Viewed (0) -
.cm/complex_changes.cm
# Each automation has an `if` key that defines conditions to run the automation, # as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You # can also use the constant `true` if you want to always run the actions.
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.7K bytes - Viewed (0) -
.cm/summary_table_platforms.cm
# Each automation has an `if` key that defines conditions to run the automation, # as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You # can also use the constant `true` if you want to always run the actions.
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.4K bytes - Viewed (0) -
.cm/code_experts.cm
# Each automation has an `if` key that defines conditions to run the automation, # as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You # can also use the constant `true` if you want to always run the actions.
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.3K bytes - Viewed (0) -
.cm/includes_todos.cm
# Each automation has an `if` key that defines conditions to run the automation, # as well as a `run` key with the actions to do. All the conditions need to be true # for the actions to run (there is an implicit AND relation between # the conditions on each line). Each condition is specified as a Jinja expression. You # can also use the constant `true` if you want to always run the actions.
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Fri Apr 12 13:42:16 GMT 2024 - 1.9K bytes - Viewed (0)