Thuta Learning
ရှာဖွေရန်
BasicData & Databasesintermediate

What is MongoDB?

စိတ်လျှော့ပါ။ ဒီခန်းကို စာအုပ်လိုမဟုတ်ဘဲ စကားပြောသလိုပဲ၊ နားလည်လွယ်အောင် ရှင်းပါမယ်။

MongoDB သည် open-source document-oriented database တစ်ခုဖြစ်ပြီး NoSQL database အမျိုးအစားတွင် ပါဝင်သည်။ Traditional relational databases (SQL) များကဲ့သို့ tables နှင့် rows များအစား, MongoDB သည် data များကို JSON-like documents များအဖြစ် BSON (Binary JSON) format ဖြင့် သိမ်းဆည်းသည်။

javascript
// A sample document in a 'users' collection
{
  "_id": ObjectId("635f8e9e4a3b83d8a7c2c1b1"),
  "name": "Aung Aung",
  "age": 30,
  "courses": ["History", "Math"],
  "address": {
    "city": "Yangon",
    "street": "Main St"
  }
}
You should see
(ဤသည်မှာ MongoDB ရှိ data record တစ်ခု (document) ၏ နမူနာပုံစံဖြစ်သည်)