function followRef(
query,
ref,
collection):
| void
| {
collection: Collection;
path: string[];
};
function followRef(
query,
ref,
collection):
| void
| {
collection: Collection;
path: string[];
};
Defined in: packages/db/src/query/ir.ts:213
Follows the given reference in a query until its finds the root field the reference points to.
PropRef<any>
| void | { collection: Collection; path: string[]; }
The collection, its alias, and the path to the root field in this collection