NoSQL endka 100% Correct
How to insert Many Documents
a.there is no right answer
b.db. <Collection name>.insertOne()
c.db. <Collection name>.insertOne(<object>)
d.all answers are correct
e.db. <Collection name>.insert(<Array of objects>) - ANSWER e.db. <Collection
name>.insert(<Array of objects>)
How to skip certain number of the documents
a.there is no right answer
b.cursor.limit(<number>)
c.cursor.sort({<field1>: 1})
d.cursor.count()
e.cursor.skip(<number>) - ANSWER e.cursor.skip(<number>)
How to create new Collection?
a.db. <database name>.drop()
b.there is no right answer
c.db.dropDatabase()
d.Use <database name>
e.db.createCollection("<Collection name>") - ANSWER
e.db.createCollection("<Collection name>")
How to Returns One Document in Extended JSON format
, a.all answers are correct
b.db. <Collection name>.insertMany()
c.there is no right answer
d.db. <Collection name>.insertOne(<object>)
e.db. <Collection name>.findOne(<query>,<fields> ) - ANSWER e.db. <Collection
name>.findOne(<query>,<fields> )
How to List all Collections inside active Database
a.show collections
b.db.dropDatabase()
c.db. <database name>.drop()
d.db.createCollection("<Collection name>")
e.Use <database name> - ANSWER a.show collections
Which one is not Comparison Operators?
a.$exists
b.$ne
c.$gte
d.$gt - ANSWER a.$exists
Which one is an Update Operators
a.all answers are correct
b.$mul
c.$addToSet
d.$rename
e.$pop - ANSWER a.all answers are correct
How to insert Many Documents
a.there is no right answer
b.db. <Collection name>.insertOne()
c.db. <Collection name>.insertOne(<object>)
d.all answers are correct
e.db. <Collection name>.insert(<Array of objects>) - ANSWER e.db. <Collection
name>.insert(<Array of objects>)
How to skip certain number of the documents
a.there is no right answer
b.cursor.limit(<number>)
c.cursor.sort({<field1>: 1})
d.cursor.count()
e.cursor.skip(<number>) - ANSWER e.cursor.skip(<number>)
How to create new Collection?
a.db. <database name>.drop()
b.there is no right answer
c.db.dropDatabase()
d.Use <database name>
e.db.createCollection("<Collection name>") - ANSWER
e.db.createCollection("<Collection name>")
How to Returns One Document in Extended JSON format
, a.all answers are correct
b.db. <Collection name>.insertMany()
c.there is no right answer
d.db. <Collection name>.insertOne(<object>)
e.db. <Collection name>.findOne(<query>,<fields> ) - ANSWER e.db. <Collection
name>.findOne(<query>,<fields> )
How to List all Collections inside active Database
a.show collections
b.db.dropDatabase()
c.db. <database name>.drop()
d.db.createCollection("<Collection name>")
e.Use <database name> - ANSWER a.show collections
Which one is not Comparison Operators?
a.$exists
b.$ne
c.$gte
d.$gt - ANSWER a.$exists
Which one is an Update Operators
a.all answers are correct
b.$mul
c.$addToSet
d.$rename
e.$pop - ANSWER a.all answers are correct