- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 153 for Relation (0.06 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
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": {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Mon Aug 18 11:44:52 GMT 2025 - 26.5K bytes - Click Count (0) -
schema/relationship.go
defer schema.Relationships.Mux.Unlock() // 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 }
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) -
src/main/java/org/codelibs/fess/rank/fusion/SearchResult.java
* * @return The total record count */ public long getAllRecordCount() { return allRecordCount; } /** * Gets the relation type indicating how the record count should be interpreted. * * @return The record count relation (e.g., "eq" for exact, "gte" for greater than or equal) */ public String getAllRecordCountRelation() { return allRecordCountRelation; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 8.8K bytes - Click Count (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 }
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) -
callbacks/query.go
for _, join := range db.Statement.Joins { if db.Statement.Schema != nil { var isRelations bool // is relations or raw sql var relations []*schema.Relationship relation, ok := db.Statement.Schema.Relationships.Relations[join.Name] if ok { isRelations = true relations = append(relations, relation) } else { // handle nested join like "Manager.Company"Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 10.4K bytes - Click Count (3) -
src/main/java/org/codelibs/fess/entity/SearchRenderData.java
*/ public void setAllRecordCount(final long allRecordCount) { this.allRecordCount = allRecordCount; } /** * Sets the relation type for the record count (e.g., "eq", "gte"). * * @param allRecordCountRelation The record count relation */ public void setAllRecordCountRelation(final String allRecordCountRelation) { this.allRecordCountRelation = allRecordCountRelation; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 12.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/QueryResponseList.java
* * @return the total record count */ public long getAllRecordCount() { return allRecordCount; } /** * Gets the relation type for the total record count. * * @return the relation type (e.g., "eq" for exact count, "gte" for greater than or equal) */ public String getAllRecordCountRelation() { return allRecordCountRelation; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 14.5K bytes - Click Count (0) -
schema/schema_test.go
}, }}, References: []Reference{{"ID", "User", "UserID", "user_friends", "", true}, {"ID", "User", "FriendID", "user_friends", "", false}}, }, } for _, relation := range relations { checkSchemaRelation(t, user, relation) } } func TestParseSchemaWithAdvancedDataType(t *testing.T) { user, err := schema.Parse(&AdvancedDataTypeUser{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil {Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Aug 28 02:57:17 GMT 2025 - 13.3K bytes - Click Count (0) -
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)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jul 10 01:47:55 GMT 2025 - 15K bytes - Click Count (0) -
callbacks/associations.go
if reflect.Indirect(obj).Kind() != reflect.Struct { break } if _, zero := rel.Field.ValueOf(db.Statement.Context, obj); !zero { // check belongs to relation value rv := rel.Field.ReflectValueOf(db.Statement.Context, obj) // relation reflect value if !isPtr { rv = rv.Addr() } objs = append(objs, obj) elems = reflect.Append(elems, rv)
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Feb 13 06:16:26 GMT 2025 - 14.4K bytes - Click Count (0)