Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 300 Bytes

File metadata and controls

21 lines (16 loc) · 300 Bytes

Demo for Skip

Example of code

import {AggregateBuilder} from 'mongodb-aggregate-builder';

const aggBuilder = new AggregateBuilder();
aggBuilder.skip(10);
console.log(JSON.stringify(aggBuilder.build(), null, 2));

Result

[
    {
        "$skip": 10
    }
]