In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
The logical structure of MongoDB is a hierarchical structure. It is mainly composed of document (document), collection (collection) and database (database). Logical structure is user-oriented what users use to develop applications using MongoDB is the logical structure.
The document document of MongoDB is equivalent to a row of records in a relational database.
Multiple documents form a collection collection is equivalent to tables in a relational database.
Multiple collections collection are logically organized together as database database.
A single MongoDB instance supports multiple database database.
Mongodb conditional query
Db.collection.find ({"field": {$gt:value}}) / / is greater than
Db.collection.find ({"field": {$lt: value}}); / / less than: field
< value db.collection.find({ "field" : { $gte: value } } ); // 大于等于: field >= value
Db.collection.find ({"field": {$lte: value}}); / less than or equal to: field
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.