Sample

Table of Contents

Overview
The sample directive returns a random sampling of documents from a given schema. The directive also accepts an optional size parameter.

Example
round-pushpin Returns a random sample of documents from the Word schema using the default count (which is 100).
SAMPLE WordList:Word

round-pushpin Returns a random sample of 1,000 documents from the Word schema.
SAMPLE WordList:Word SIZE 1000


Related