As most of you will be coming from a relational database world, some of the NoSQL concepts that we use will be somewhat foreign to you. It is the aim of this simple (short) book to dispell some of the mysteries around MongoDB and make your life just a little easier with the power of NoSQL and MongoDB!
First off, let’s define a couple of concepts that willl be used throughout this series:
NoSQL – Not Only SQL. It does NOT mean No SQL. This is a horrible misnomer and you should forget that you ever heard it. Not Only SQL means that these types of data stores can do more than simple SQL as will be demonstrated in later chapters.
MongoDB is a document based database. This means that you will work with the concept of a document as an analogy to a “row” and collections as analogous to “tables”. The database therefore is made up of collections, that contain documents that contain fields.
Type conventions – all commands and things in general that you could conceivably copy and paste into either the Mongo shell or a terminal/command prompt window will be in this font (Monotype).