- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 11 for Associations (0.13 seconds)
-
clause/clause.go
builder.WriteByte(' ') c.AfterExpression.Build(builder) } } } const ( PrimaryKey string = "~~~py~~~" // primary key CurrentTable string = "~~~ct~~~" // current table Associations string = "~~~as~~~" // associations ) var ( currentTable = Table{Name: CurrentTable} PrimaryColumn = Column{Table: CurrentTable, Name: PrimaryKey} ) // Column quote with name type Column struct { Table string
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 1.8K bytes - Click Count (0) -
README.md
[](https://pkg.go.dev/gorm.io/gorm?tab=doc) ## Overview * Full-Featured ORM * Associations (Has One, Has Many, Belongs To, Many To Many, Polymorphism, Single-table inheritance) * Hooks (Before/After Create/Save/Update/Delete/Find) * Eager loading with `Preload`, `Joins`
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Thu Oct 30 09:30:20 GMT 2025 - 1.8K bytes - Click Count (0) -
association.go
} } return association } func (association *Association) Unscoped() *Association { return &Association{ DB: association.DB, Relationship: association.Relationship, Error: association.Error, Unscope: true, } } func (association *Association) Find(out interface{}, conds ...interface{}) error { if association.Error == nil {
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) -
tests/generics_test.go
assoc := clause.Association{ Association: "Orders", Type: op.Type, } if assoc.Type != op.Type { t.Errorf("Association type should be %s, got %v", op.TypeName, assoc.Type) } } } func TestGenericsAssociationSlice(t *testing.T) { // Test that a slice of Association can be used associations := []clause.Association{Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Tue Dec 30 08:11:14 GMT 2025 - 34.9K bytes - Click Count (0) -
gorm.go
DefaultTransactionTimeout time.Duration DefaultContextTimeout time.Duration // NamingStrategy tables, columns naming strategy NamingStrategy schema.Namer // FullSaveAssociations full save associations FullSaveAssociations bool // Logger Logger logger.Interface // NowFunc the function to be used when creating a new timestamp NowFunc func() time.Time // DryRun generate sql without execute DryRun bool
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:35:55 GMT 2026 - 13.1K bytes - Click Count (0) -
generics.go
data[a.Column.Name] = a.Value } return assoc.Append(data) }, op.Association) } return s.handleAssociationForOwners(base, ctx, func(owner T, assoc *Association) error { return assoc.Append(op.Values...) }, op.Association) } // handleAssociationForOwners is a helper function that handles associations for all owners
Created: Sun Apr 05 09:35:12 GMT 2026 - Last Modified: Sat Mar 21 11:34:24 GMT 2026 - 26K bytes - Click Count (0) -
cmd/iam.go
// When a policyName is given to this function, the policy association is // created and stored in the IAM store. Thus, it should NOT be given for the // role-arn case (because the role-to-policy mapping is separately stored // elsewhere), the AssumeRole case (because the parent user is real and their // policy is associated via policy-set API) and the AssumeRoleWithLDAP case // (because the policy association is made via policy-set API).
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Oct 15 17:00:45 GMT 2025 - 76.5K bytes - Click Count (0) -
tests/multi_primary_keys_test.go
var tags3 []Tag DB.Model(&blog).Association("Tags").Find(&tags3) if !compareTags(tags3, []string{"tag6"}) { t.Fatalf("Should find 1 tags after Delete") } if DB.Model(&blog).Association("Tags").Count() != 1 { t.Fatalf("Blog should has three tags after Delete") } DB.Model(&blog).Association("Tags").Delete(tag3) var tags4 []Tag
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) -
api/maven-api-model/src/main/mdo/maven.mdo
</description> <association> <type>License</type> <multiplicity>*</multiplicity> </association> </field> <field xdoc.separator="blank"> <name>developers</name> <version>3.0.0+</version> <description>Describes the committers of a project.</description> <association> <type>Developer</type>Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 17 09:48:21 GMT 2026 - 133.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java
* This class provides functionality to load, cache, and retrieve related content * based on search queries and virtual host configurations. It supports both exact * term matching and regex pattern matching for flexible content association. */ public class RelatedContentHelper extends AbstractConfigHelper { /** * Default constructor for RelatedContentHelper. * The constructor does not perform any initialization logic as the actualCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 8.2K bytes - Click Count (0)