shwezhu / shwezhu.github.io

0 stars 0 forks source link

p/mongodb-in-action-reading-note/ #8

Open utterances-bot opened 4 months ago

utterances-bot commented 4 months ago

MongoDB in Action Reading Note

Basic Theory MongoDB stores its information in documents rather than rows. Where relational databases have tables, MongoDB has collections. Every MongoDB document requires an _id, and if one isn’t present when the document is created, a special MongoDB ObjectID will be generated and added to the document at that time. You can set your own _id by setting it in the document you insert, the ObjectID is just MongoDB’s default.

https://blog.yorforger.cc/p/mongodb-in-action-reading-note/

shwezhu commented 4 months ago

test