Q7.webp
N

Q7.webp

Kizspy | Question: 7
(Choose 2 answers)
Which steps are required to establish a connection to a MongoDB server using the MongoClient class?
A. Import the MongoClient class from the mongodb module with the require() statement.
B. Create an instance of the MongoDatabase class.
C. Call the connect() method on the MongoClient instance by passing the MongoDB server URL.
D. Use the import statement to import MongoClient.

Thông tin

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

Share this media

Back
Bên trên Bottom