Useful functions

Below are some of the useful functions:

Limit(n): To limit number of records.

Skip(n): Skip number of records.

Sort({key:1}): Sort the data.

ensureIndex(): To create index.

 

Advertisements

Posted March 11, 2018 by Izharuddin Shaikh

%d bloggers like this: