Type alias CollectionResolver

CollectionResolver: ((name) => RawObject[])

Resolves the given string to a Collection. This is useful for operators that require a second collection to use such as $lookup and $out. The collection is not cached and will be resolved each time it is used.

Type declaration