Skip to main content

Skip

Skip documents in the collection.

Method Signature

public skip(value: number): this;

Example

const users = await aggregate.skip(10).get();

It will return all documents in the collection, starting from the 11th document.