tubeshowcase●1,194,391 videos♡ My collection 0
← Learn to Code

Learn to Code03:46

MongoDB collections explained

Bro Code ↗

From the creator

#mongoDB #course #tutorial db.createCollection("teachers", {capped : true , size : 1000 * 1024, max : 100}, {autoIndexId:false}) capped = Enables a capped collection. Oldest entries are overwritten when the collection reaches its max size. size = specifies the maximum size in bytes (x * y bytes) max = maximum number of documents allowed autoIndexId = Creates an index on _id field

Published 2024-07-22 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code