Mongo Flashcards
D________ databases are usually categorized under the NoSQL umbrella term.
Document databases are usually categorized under the NoSQL umbrella term.
Document databases are usually categorized under the No____ umbrella term.
Document databases are usually categorized under the NoSQL umbrella term.
A d____ file, typically named “.env”, is used to store environment variables for an application, allowing developers to separate configuration settings from their code and manage sensitive information like API keys and database passwords securely without exposing them directly within the codebase
A dotenv file, typically named “.env”, is used to store environment variables for an application, allowing developers to separate configuration settings from their code and manage sensitive information like API keys and database passwords securely without exposing them directly within the codebase
A dotenv file, typically named “.env”, is used to store e________ v________s for an application, allowing developers to separate configuration settings from their code and manage sensitive information like API keys and database passwords securely without exposing them directly within the codebase
A dotenv file, typically named “.env”, is used to store environment variables for an application, allowing developers to separate configuration settings from their code and manage sensitive information like API keys and database passwords securely without exposing them directly within the codebase
C________s are analogous to tables in relational databases.
Collections are analogous to tables in relational databases.
Collections are analogous to t._._s in relational databases.
Collections are analogous to tables in relational databases.
Document databases like Mongo are s_____-less, meaning that the database itself does not care about the structure of the data that is stored in the database.
Document databases like Mongo are schemaless, meaning that the database itself does not care about the structure of the data that is stored in the database.
even though the ‘_id’ property of Mongoose objects looks like a string, it is in fact an o_______
even though the ‘_id’ property of Mongoose objects looks like a string, it is in fact an object*
The idea behind Mongoose is that the data stored in the database is given a schema at the level of the a________ that defines the shape of the documents stored in any given collection.
The idea behind Mongoose is that the data stored in the database is given a schema at the level of the application that defines the shape of the documents stored in any given collection.
const mongoose = require(‘m_._.._e’)
const mongoose = require(‘mongoose’)
At the top level, a MongoDB c________ is your deployment, which can contain multiple databases.
At the top level, a MongoDB cluster is your deployment, which can contain multiple databases.
Each d_________ within a cluster holds collections and is similar to the databases in relational systems.
Each database within a cluster holds collections and is similar to the databases in relational systems.
In Mongoose, a m______ represents a collection. Each m______ is mapped to one collection and defines how documents in that collection should be structured (according to the schema).
In Mongoose, a model represents a collection. Each model is mapped to one collection and defines how documents in that collection should be structured (according to the schema).
D________s are individual records in a collection and follow the structure defined by the model’s schema.
Documents are individual records in a collection and follow the structure defined by the model’s schema.
S_._._s lay out the blueprint for collections within a database.
Schemas lay out the blueprint for collections within a database.