Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
UDDI
HDP
CDH
Data Lakes
Commercial Vehicels
CouchDB
Bike Dealer
ASP.NET
VB.NET
SQL Query
 New Cars
 :) Hot Jobs
 
 :) Latest Articles


  

 


What is Cursor in MogoDB and example
Question Posted on 28 Feb 2019

Home >> BigData >> MongoDB >> What is Cursor in MogoDB and example




What is Cursor in MogoDB and example
Cursor is a pointer to the result set of a query. A pointer to result set of a query. Clients can iterate through a cursor to retrieve results. and below is the example to create a Cursor in MongoDB:


var myCursorVar=db.users.find({"age":20});
while (myCursorVar.hasNext())
{
print(tojson(myCursorVar.next()));
}
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
Is MongoDB is RDBMS or not
What are the four Vs of Big Data?
What type of Database is MongoDB
Why 32-bit System not suitable for MongoDB
What feature of MongoDB is used for safe backups






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |