null
US
Entrar
Registre-se gratuitamente
Registre-se
Detectamos que o JavaScript não está habilitado no teu navegador. Habilite o Javascript para o funcionamento correto do nosso site. Por favor, leia os
Termos e Condições
para mais informações.
Próximo
Copiar e Editar
Você deve estar logado para concluir esta ação!
Inscreva-se gratuitamente
5881725
MongoDB Notes
Descrição
596 Management Information Systems (Data Technologies) Mapa Mental sobre MongoDB Notes, criado por Callie Toothman em 14-07-2016.
Sem etiquetas
mongodb
management information systems
data technologies
596
Mapa Mental por
Callie Toothman
, atualizado more than 1 year ago
Mais
Menos
Criado por
Callie Toothman
mais de 8 anos atrás
209
0
0
Resumo de Recurso
MongoDB Notes
Schema-Free
Hierarchy
Instance
Database
Collection
Document
Every Document has an id
JSON Format
Embedded
Attributes are not stored in separate collection
Implementation depends on the needs of the application
Linked
Optimized to quickly retrieve relevant data
Design should take into account how the application needs the data
Documentation: https://docs.mongodb.com/manual/
Extensions
Mongoose
RoboMongo
MongoChef
CRUD Operations
find
Equivalent to SELECT statement
Examples
Minimal
db.Products.find()
Query + Projection
db.Products.find({ "desc": "42in TV", "width": 41 })
Query Only
db.Products.find({"desc": "42in TV"})
Projection Only
db.Products.find({"width": 1, "height": 1, "depth": 1} )
Arrays
db.Products.find({ "priceHist" : {$elemMatch: { $gt: 100, $lt: 300 } } })
Conditional Statements
db.Products.find({"reviews.star": { $gte: 4 } })
Embedded Collections
db.Products.find({"editorReview.authorlname" : "Smith"} )
Syntax
db.collection.find(query, projection)
Projection: Which columns you're going to return
id always comes back unless id is set to false {id: 0}
Inserts
Examples
Single
db.Questions.insert({"_id": NumberInt(5), "prodID": NumberInt(4), "author": "MrsInquisitive", "text": "Sample question"})
Multiple
db.Questions.insert([{"_id": NumberInt(6), "prodID": NumberInt(4), "author": "MrsInquisitive", "text": "Sample question"}, {"_id": NumberInt(7), "prodID": NumberInt(4), "author": "MrIWantToKnow", "text": "Sample question"} ])
Quer criar seus próprios
Mapas Mentais
gratuitos
com a GoConqr?
Saiba mais
.
Semelhante
Sistema de Gestor de Base de Datos MongoDB
Edwin Herlop
RESTful Web Services with Express Framework and mongoose.
Angel Martínez Rodriguez
MIS
Harry Riley
Multiple Choice type questions
Kingsley Enyiorj
CMIS 351 Lesson 1: Information Systems and You
Adriana Vincelli-Joma
CMIS 351 Lesson 2: Business Process and Decision Making
Adriana Vincelli-Joma
Getting started with Node and Mongo
James Drummond
MongoDB Terms
Callie Toothman
MIS
Chief Keef
Android RESTful client
Angel Martínez Rodriguez
Gêneros Literários
Larissa Borela
Explore a Biblioteca