constructor<Relationship extends TraverseEntities, Target extends TraverseEntities = Relationship, Data extends unknown[] = [EntityHandle], Filter extends QueryFilter<FilterTransform>[] = []>(world: World, relationship: Constructor<Relationship>, target?: Constructor<Target>, data?: [...TupleConstructor<Data>[]], filter?: [...Filter[]])
View sourceCreates relationship and target queries for a world.
The relationship-side query matches [relationship, ...data] on the
entity currently being expanded. The target-side query matches
[target, ...data] on each handle returned by the relationship. In both
result tuples, the leading relationship or target component is consumed
by the traversal and the remaining data values are passed to visit.
Both queries use the supplied filters; see Query for query-cache
and filter behavior.
