Take

Takes the first X documents from the current pipeline and discards the rest.

Usage

  • Take(int x)

    Takes the first X documents from the current pipeline and discards the rest.

    • x

      An integer representing the number of documents to preserve from the current pipeline.

GitHub