- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for JoinNestedRelationNames (0.15 sec)
-
utils/utils.go
func SplitNestedRelationName(name string) []string { return strings.Split(name, nestedRelationSplit) } // JoinNestedRelationNames nested relationships like `Manager__Company` func JoinNestedRelationNames(relationNames []string) string { return strings.Join(relationNames, nestedRelationSplit) } // RTrimSlice Right trims the given slice by given length
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.1K bytes - Viewed (0) -
clause/joins.go
type Join struct { Type JoinType Table Table ON Where Using []string Expression Expression } func JoinTable(names ...string) Table { return Table{ Name: utils.JoinNestedRelationNames(names), } } func (join Join) Build(builder Builder) { if join.Expression != nil { join.Expression.Build(builder) } else { if join.Type != "" { builder.WriteString(string(join.Type))
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 1.5K bytes - Viewed (0)