in Big Data | Hadoop by (32.2k points)
What is the syntax of the limit() method in MongoDB ?

1 Answer

0 votes
by (23.9k points)

The syntax of the limit() method is as follows:

>db.COLLECTION_NAME.find().limit(NUMBER)

Related questions

0 votes
asked Mar 22, 2020 in Big Data | Hadoop by SakshiSharma (32.2k points)
0 votes
asked Mar 22, 2020 in Big Data | Hadoop by SakshiSharma (32.2k points)
0 votes
asked Apr 1, 2020 in Big Data | Hadoop by AdilsonLima (6.3k points)
...