- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 31 for Relationships (0.43 seconds)
-
schema/relationship.go
switch relation.Type { case HasOne: schema.Relationships.HasOne = append(schema.Relationships.HasOne, relation) case HasMany: schema.Relationships.HasMany = append(schema.Relationships.HasMany, relation) case BelongsTo: schema.Relationships.BelongsTo = append(schema.Relationships.BelongsTo, relation) case Many2Many: schema.Relationships.Many2Many = append(schema.Relationships.Many2Many, relation) } }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) -
schema/schema.go
Fields: make([]*Field, 0, 10), FieldsByName: make(map[string]*Field, 10), FieldsByBindName: make(map[string]*Field, 10), FieldsByDBName: make(map[string]*Field, 10), Relationships: Relationships{Relations: map[string]*Relationship{}}, cacheStore: cacheStore, namer: namer, initialized: make(chan struct{}), } // When the schema initialization is completed, the channel will be closed
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.3K bytes - Click Count (0) -
callbacks/preload.go
return names } // preloadEntryPoint enters layer by layer. It will call real preload if it finds the right entry point. // If the current relationship is embedded or joined, current query will be ignored. // //nolint:cyclop func preloadEntryPoint(db *gorm.DB, joins []string, relationships *schema.Relationships, preloads map[string][]interface{}, associationsConds []interface{}) error { preloadMap := parsePreloadMap(db.Statement.Schema, preloads)
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) -
generics.go
} relation, ok := db.Statement.Schema.Relationships.Relations[association] if !ok { if preloadFields := strings.Split(association, "."); len(preloadFields) > 1 { relationships := &db.Statement.Schema.Relationships for _, field := range preloadFields { var ok bool relation, ok = relationships.Relations[field] if ok { relationships = &relation.FieldSchema.Relationships } else {
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:34:24 GMT 2026 - 26K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2ConstantsTest.java
originalFileId, "Original FileId array should remain all 0xFF"); } } @Nested @DisplayName("Constant Relationships") class ConstantRelationships { @Test @DisplayName("Header length should be suitable for SMB2 protocol") void testHeaderLengthValidity() {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.1K bytes - Click Count (0) -
docs/SMB3_IMPLEMENTATION_PLAN.md
``` #### 4.2 Implementation Tasks - [ ] Extend lease implementation for directories - [ ] Implement directory metadata caching - [ ] Add directory change notification integration - [ ] Create parent-child lease relationships - [ ] Implement directory lease break handling - [ ] Add directory enumeration caching #### 4.3 Integration Points - Extend `SmbFile` for directory lease support - Modify directory listing operations for caching
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 10.7K bytes - Click Count (0) -
docs/smb3-features/01-smb3-lease-design.md
} ``` ## 12. Future Enhancements 1. **Directory Leases**: Extend lease support for directories 2. **Lease Key Persistence**: Save lease keys for reconnection 3. **Parent-Child Relationships**: Implement hierarchical leases 4. **Lease Sharing**: Support lease sharing across handles
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 02:53:50 GMT 2025 - 22K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/ValueGraph.java
// // ValueGraph identity // /** * Returns {@code true} iff {@code object} is a {@link ValueGraph} that has the same elements and * the same structural relationships as those in this graph. * * <p>Thus, two value graphs A and B are equal if <b>all</b> of the following are true: * * <ul> * <li>A and B have equal {@link #isDirected() directedness}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 15K bytes - Click Count (0) -
android/guava/src/com/google/common/graph/Graph.java
// // Graph identity // /** * Returns {@code true} iff {@code object} is a {@link Graph} that has the same elements and the * same structural relationships as those in this graph. * * <p>Thus, two graphs A and B are equal if <b>all</b> of the following are true: * * <ul> * <li>A and B have equal {@link #isDirected() directedness}.Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Mar 11 01:10:31 GMT 2026 - 13.6K bytes - Click Count (0) -
schema/relationship_test.go
if err != nil { t.Fatalf("failed to parse schema, got error %v", err) } if len(userSchema.Relationships.Relations) != 1 { t.Fatalf("expects 1 relations, but got %v", len(userSchema.Relationships.Relations)) } if createdByRel, ok := userSchema.Relationships.Relations["CreatedBy"]; ok { if createdByRel.FieldSchema != userSchema {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)