SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}`
(name string)
| 180 | |
| 181 | // SplitNestedRelationName Split nested relationships to `[]string{"Manager","Company"}` |
| 182 | func SplitNestedRelationName(name string) []string { |
| 183 | return strings.Split(name, nestedRelationSplit) |
| 184 | } |
| 185 | |
| 186 | // JoinNestedRelationNames nested relationships like `Manager__Company` |
| 187 | func JoinNestedRelationNames(relationNames []string) string { |