Q9.webp
V

Q9.webp

Kizspy | Question: 9
(Choose 3 answers)
To connecting to a MongoDB database and performing CRUD operations using the Node MongoDB Driver.
Identify the parts responsible for connecting, inserting, and querying documents.
A. client.connect() is responsible for connecting to the MongoDB server.
B. col.insertOne({ name: "Nguyen Van A", age: 20 }) is responsible for inserting a document.
C. col.find({}).toArray() is responsible for querying documents.
D. client.close() is responsible for deleting a document.

Thông tin

Category
SDN302
Thêm bởi
VanDat2002
Ngày thêm
Lượt xem
3,169
Lượt bình luận
13
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom