Intersection - Returns a child element that represents the intersection of the given children. This child element can be used in defining entity relations and actions.
(children ...*base.Child)
| 285 | |
| 286 | // Intersection - Returns a child element that represents the intersection of the given children. This child element can be used in defining entity relations and actions. |
| 287 | func Intersection(children ...*base.Child) *base.Child { |
| 288 | return &base.Child{ |
| 289 | Type: &base.Child_Rewrite{ |
| 290 | Rewrite: &base.Rewrite{ |
| 291 | RewriteOperation: base.Rewrite_OPERATION_INTERSECTION, |
| 292 | Children: children, |
| 293 | }, |
| 294 | }, |
| 295 | } |
| 296 | } |
| 297 | |
| 298 | // Exclusion - Returns a child element that represents the exclusion of the given children. This child element can be used in defining entity relations and actions. |
| 299 | func Exclusion(children ...*base.Child) *base.Child { |