- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for hasPolymorphicRelation (0.44 sec)
-
schema/relationship.go
schema.Relationships.Many2Many = append(schema.Relationships.Many2Many, relation) } } return relation } // hasPolymorphicRelation check if has polymorphic relation // 1. `POLYMORPHIC` tag // 2. `POLYMORPHICTYPE` and `POLYMORPHICID` tag func hasPolymorphicRelation(tagSettings map[string]string) bool { if _, ok := tagSettings["POLYMORPHIC"]; ok { return true }
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)