Skip to Content
Seven Databases in Seven Weeks, 2nd Edition
book

Seven Databases in Seven Weeks, 2nd Edition

by Luc Perkins, Eric Redmond, Jim Wilson
April 2018
Beginner to intermediate
360 pages
8h 54m
English
Pragmatic Bookshelf
Content preview from Seven Databases in Seven Weeks, 2nd Edition

Day 1: CRUD and Nesting

We’ll spend today working on some CRUD operations and finish up by performing nested queries in MongoDB. As usual, we won’t walk you through the installation steps, but if you visit the Mongo website,[26] you can download a build for your OS or find instructions on how to build from source. If you have OS X, we recommend installing via Homebrew (brew install mongodb). If you use a Debian/Ubuntu variant, try MongoDB’s own apt-get package.

To prevent typos, Mongo requires you to first create the directory where mongod will store its data. A common location is /data/db. Ensure the user you run the server under has permission to read and write to this directory. If it’s not already running, you can fire up the Mongo service ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Power BI - The Complete Masterclass - 2025 EDITION

Microsoft Power BI - The Complete Masterclass - 2025 EDITION

Nikolai Schuler

Publisher Resources

ISBN: 9781680505962Errata Page