SDN302_-_FA_2024_-_FE_3014.webp
M

SDN302_-_FA_2024_-_FE_3014.webp

Kizspy | Question: 38
(Choose 2 answers)
Which of the following are valid ways to define a Mongoose schema with timestamps?
A. new Schema({ fieldName: String}, { timestamps: true })
B. new Schema({ fieldName: { type: String, timestamps: true } })
C. new Schema({ fieldName: String}, { timestamps: false })
D. new Schema({ fieldName: String }).set('timestamps', true)

  • Like
Reactions: Quangdung

Thông tin

Category
SDN302
Thêm bởi
Minh Tâm1
Ngày thêm
Lượt xem
2,908
Lượt bình luận
18
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom