Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "operators/pipeline/unwind"

Index

Functions

Functions

$unwind

  • $unwind(collection: Iterator, expr: string | { includeArrayIndex?: string; path: string; preserveNullAndEmptyArrays?: boolean }, options?: Options): Iterator
  • Takes an array of documents and returns them as a stream of documents.

    Parameters

    • collection: Iterator
    • expr: string | { includeArrayIndex?: string; path: string; preserveNullAndEmptyArrays?: boolean }
    • Optional options: Options

    Returns Iterator

Generated using TypeDoc