Created
September 4, 2015 21:44
-
-
Save clayton-perszyk/b0de9247088b6285e19f to your computer and use it in GitHub Desktop.
mongoDB Review
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Terms: | |
| Database - A DB is a place to store persistent data. | |
| Collection - A collection is a group of similar things, e.g. a colletion of users. | |
| Document - Documents are objects that map closely to programming language data types. | |
| Cursor - A pointer to the result set of a query. | |
| Field - A name-value pair in a document. | |
| CRUD - Create, Read, Update, Delete. | |
| Relational Database - a database structured to recognize relations among stored items of information. | |
| Non-Relational Database - a database structure that provides a mechanism for storage and retrieval of data that is modeled in means other than the tabular relations used in relational databases. | |
| CAP Theorem - States that it is impossible for a distributed computer system to simultaneously provide consistency, availabilty, an partition tolerance. | |
| Schema - a representation of a plan or theory in the form of an outline or model. | |
| Q. Do MongoDB databases have schemas? | |
| A. Yes. Dynamic Schemas. | |
| Q. What are typical uses for MongoDB? | |
| A. Where you want to just throw in data to a database without worrying about types. | |
| Q. What is Mongoose? | |
| A. Mongoose is a Node.js library that provides MongoDB object mapping similar to ORM with a familiar interface within Node.js. | |
| Q. What is a Mongoose Model? | |
| A. models are used to create instances of data that will be stored in documents. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment