O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

NoSQL with MongoDB Video How-To

Video Description

Skip the reading and learn by watching!

Short, clear videos show you visually how to perform individual tasks in MongoDB

NoSQL with MongoDB Video How-To is a series of short, 2- to 5-minute how-to videos that walk you through a specific task or technique related to leveraging the MongoDB NOSQL database system.

Adapted from Brad Dayley's book Sams Teach Yourself NoSQL with MongoDB in 24 Hours, each video is self-contained and focused entirely on one particular task. You can either go through the videos in sequence or you can jump into a particular task, see how something is done, and then jump out again.

About the Instructor

Brad Dayley is a senior software engineer with more than 20 years of experience developing enterprise applications. He has designed and developed large-scale business applications, including SAS applications with NoSQL database back ends and rich Internet web applications as front ends. He is the author of the jQuery and JavaScript PhrasebookSams Teach Yourself jQuery and JavaScript in 24 Hours,  and Node.js, MongoDB, and AngularJS Web Development.

Skill Level

  • Beginner
  • Intermediate

Just a couple minutes is all you need to learn how to...

  • Install and Configure MongoDB in Your Development Environment
  • Run a MongoDB Shell Script from the Command Line
  • Implement Loops in JavaScript
  • Implement Functions in JavaScript
  • Manipulate JavaScript Strings in MongoDB Shell Scripts
  • Manipulate JavaScript Arrays in MongoDB Shell Scripts
  • Create Database User Accounts in the MongoDB Shell
  • List Users in a Database
  • Remove Users from a Database
  • Implement Access Control to the MongoDB Database
  • Create a New Database
  • Delete a Database
  • Get the Stats of the MongoDB Database
  • Create a New Collection
  • Delete a Collection from a Database
  • Create the Example Dataset
  • Find a Single Document in the MongoDB Shell
  • Retrieve Multiple Documents in the MongoDB Shell
  • Find Specific Documents Using the MongoDB Shell
  • Count the Number of Documents Represented by a Cursor in the MongoDB Shell
  • Sort Documents Represented by a Cursor from the MongoDB Shell
  • Limit Documents Represented by a Cursor in the MongoDB Shell
  • Limit Which Document Fields Are Returned from Find Requests in the MongoDB Shell
  • Page Through Documents in a Collection from the MongoDB Shell
  • Retrieve Distinct Values for a Specific Field Using the MongoDB Shell
  • Insert Documents into a Collection Using the MongoDB Shell
  • Update Documents in a Collection Using the MongoDB Shell
  • Save Documents in a Collection Using the MongoDB Shell
  • Upsert Documents in a Collection Using the MongoDB Shell
  • Delete Documents from a Collection Using the MongoDB Shell
  • Group Objects by Key Values Using the MongoDB Shell
  • Generate Aggregated Data from a Collection Using the MongoDB Shell
  • Use Map Reduce to Manipulate Results of Request from the MongoDB Shell
  • Implement the Java MongoDB Driver and Connecting to MongoDB Using Java
  • Retrieve Documents from MongoDB Using Java
  • Retrieve Specific Documents from MongoDB Using Java
  • Count the Number of Documents Represented by a Cursor in Java
  • Sort Documents Represented by a Cursor in Java
  • Limit the Number of Documents Represented by a Cursor in Java
  • Limit Which Document Fields Are Returned from Find Requests in Java
  • Page Through Documents in a Collection Using Java
  • Retrieve Distinct Values for a Specific Field Using Java
  • Group Documents by Field Values in Java
  • Generate Aggregated Data from MongoDB in Java Applications
  • Insert Documents into a Collection Using Java
  • Delete Documents from a Collection Using Java
  • Save Documents in a Collection Using Java
  • Update Documents in a Collection Using Java
  • Upsert Documents in a Collection Using Java
  • Implement the PHP MongoDB Driver and Connecting to MongoDB Using PHP
  • Retrieve Documents from MongoDB Using PHP
  • Retrieve Specific Documents from MongoDB Using PHP
  • Count the Number of Documents Represented by a Cursor in PHP
  • Sort Documents Represented by a Cursor in PHP
  • Limit the Number of Documents Represented by a Cursor in PHP
  • Limit Which Document Fields Are Returned from Find Requests in PHP
  • Page Through Documents in a Collection Using PHP
  • Retrieve Distinct Values for a Specific Field Using PHP
  • Group Documents by Field Values in PHP
  • Generate Aggregated Data from MongoDB in PHP Applications
  • Insert Documents into a Collection Using PHP
  • Delete Documents from a Collection Using PHP
  • Save Documents in a Collection Using PHP
  • Update Documents in a Collection Using PHP
  • Upsert Documents in a Collection Using PHP
  • Implement the Python MongoDB Driver and Connect to MongoDB Using Python
  • Retrieve Documents from MongoDB Using Python
  • Retrieve Specific Documents from MongoDB Using Python
  • Count the Number of Documents Represented by a Cursor in Python
  • Sort Documents Represented by a Cursor in Python
  • Limit the Number of Documents Represented by a Cursor in Python
  • Limit Which Document Fields Are Returned from Find Requests in Python
  • Page Through Documents in a Collection Using Python
  • Retrieve Distinct Values for a Specific Field Using Python
  • Group Documents by Field Values in Python
  • Generate Aggregated Data from MongoDB in Python Applications
  • Insert Documents into a Collection Using Python
  • Delete Documents from a Collection Using Python
  • Save Documents in a Collection Using Python
  • Update Documents in a Collection Using Python
  • Upsert Documents in a Collection Using Python
  • Implement the Node.js MongoDB Driver and Connecting to MongoDB Using Node.js
  • Retrieve Documents from MongoDB Using Node.js
  • Retrieve Specific Documents from MongoDB Using Node.js
  • Count the Number of Documents Represented by a Cursor in Node.js
  • Sort Documents Represented by a Cursor in Node.js
  • Limit the Number of Documents Represented by a Cursor in Node.js
  • Limit Which Document Fields Are Returned from Find Requests in Node.js
  • Page Through Documents in a Collection Using Node.js
  • Retrieve Distinct Values for a Specific Field Using Node.js
  • Group Documents by Field Values in Node.js
  • Generate Aggregated Data from MongoDB in Node.js Applications
  • Insert Documents into a Collection Using Node.js
  • Delete Documents from a Collection Using Node.js
  • Save Documents in a Collection Using Node.js
  • Update Documents in a Collection Using Node.js
  • Upsert Documents in a Collection Using Node.js
  • Create a Copy of a MongoDB Database
  • Rename a Collection in a MongoDB Database
  • Create a Capped Collection in a MongoDB Database
  • Implement Indexes on a Collection in a MongoDB Database
  • Validate a MongoDB Database
  • Implement Profiling on a MongoDB Database
  • Analyze Queries on a MongoDB Database
  • Analyze MongoDB Database Usage
  • Create a MongoDB Replica Set
  • Create a Sharded MongoDB Cluster
  • Store and Retrieve Files in the MongoDB GridFS Store from the Console
  • Access and Manipulate Files in the MongoDB GridFS Store from Java
  • Access and Manipulate Files in the MongoDB GridFS Store from PHP
  • Access and Manipulate Files in the MongoDB GridFS Store from Python
  • Access and Manipulate Files in the MongoDB GridFS Store from Node.js

Who Should Use These Videos

  • Anyone who wants to learn NoSQL concepts and MongoDB techniques
  • Database admins who want practical understanding of how to build, use, and maintain a MongoDB database 

Table of Contents

  1. Learn how to
    1. Install and Configure MongoDB in Your Development Environment 00:05:10
    2. Run a MongoDB Shell Script from the Command Line 00:02:08
    3. Implement Loops in JavaScript 00:02:01
    4. Implement Functions in JavaScript 00:01:30
    5. Manipulate JavaScript Strings in MongoDB Shell Scripts 00:02:06
    6. Manipulate JavaScript Arrays in MongoDB Shell Scripts 00:01:59
    7. Create Database User Accounts in the MongoDB Shell 00:02:54
    8. List Users in a Database 00:01:42
    9. Remove Users from a Database 00:01:54
    10. Implement Access Control to the MongoDB Database 00:04:34
    11. Create a New Database 00:01:42
    12. Delete a Database 00:01:47
    13. Get the Stats of the MongoDB Database 00:01:48
    14. Create a New Collection 00:01:59
    15. Delete a Collection from a Database 00:02:33
    16. Create the Example Dataset 00:05:49
    17. Find a Single Document in the MongoDB Shell 00:01:52
    18. Retrieve Multiple Documents in the MongoDB Shell 00:03:02
    19. Find Specific Documents Using the MongoDB Shell 00:04:10
    20. Count the Number of Documents Represented by a Cursor in the MongoDB Shell 00:03:22
    21. Sort Documents Represented by a Cursor from the MongoDB Shell 00:03:26
    22. Limit Documents Represented by a Cursor in the MongoDB Shell 00:02:59
    23. Limit Which Document Fields Are Returned from Find Requests in the MongoDB Shell 00:03:30
    24. Page Through Documents in a Collection from the MongoDB Shell 00:03:00
    25. Retrieve Distinct Values for a Specific Field Using the MongoDB Shell 00:03:03
    26. Insert Documents into a Collection Using the MongoDB Shell 00:03:17
    27. Update Documents in a Collection Using the MongoDB Shell 00:04:53
    28. Save Documents in a Collection Using the MongoDB Shell 00:03:04
    29. Upsert Documents in a Collection Using the MongoDB Shell 00:03:38
    30. Delete Documents from a Collection Using the MongoDB Shell 00:02:46
    31. Group Objects by Key Values Using the MongoDB Shell 00:04:17
    32. Generate Aggregated Data from a Collection Using the MongoDB Shell 00:04:08
    33. Use Map Reduce to Manipulate Results of Request from the MongoDB Shell 00:04:16
    34. Implement the Java MongoDB Driver and Connecting to MongoDB Using Java 00:03:42
    35. Retrieve Documents from MongoDB Using Java 00:04:26
    36. Retrieve Specific Documents from MongoDB Using Java 00:05:28
    37. Count the Number of Documents Represented by a Cursor in Java 00:02:39
    38. Sort Documents Represented by a Cursor in Java 00:04:29
    39. Limit the Number of Documents Represented by a Cursor in Java 00:03:07
    40. Limit Which Document Fields Are Returned from Find Requests in Java 00:04:42
    41. Page Through Documents in a Collection Using Java 00:03:48
    42. Retrieve Distinct Values for a Specific Field Using Java 00:03:31
    43. Group Documents by Field Values in Java 00:04:45
    44. Generate Aggregated Data from MongoDB in Java Applications 00:05:11
    45. Insert Documents into a Collection Using Java 00:04:59
    46. Delete Documents from a Collection Using Java 00:03:26
    47. Save Documents in a Collection Using Java 00:03:57
    48. Update Documents in a Collection Using Java 00:05:09
    49. Upsert Documents in a Collection Using Java 00:04:40
    50. Implement the PHP MongoDB Driver and Connecting to MongoDB Using PHP 00:02:48
    51. Retrieve Documents from MongoDB Using PHP 00:02:50
    52. Retrieve Specific Documents from MongoDB Using PHP 00:03:50
    53. Count the Number of Documents Represented by a Cursor in PHP 00:02:10
    54. Sort Documents Represented by a Cursor in PHP 00:03:37
    55. Limit the Number of Documents Represented by a Cursor in PHP 00:02:28
    56. Limit Which Document Fields Are Returned from Find Requests in PHP 00:03:59
    57. Page Through Documents in a Collection Using PHP 00:03:05
    58. Retrieve Distinct Values for a Specific Field Using PHP 00:02:50
    59. Group Documents by Field Values in PHP 00:04:23
    60. Generate Aggregated Data from MongoDB in PHP Applications 00:03:59
    61. Insert Documents into a Collection Using PHP 00:03:44
    62. Delete Documents from a Collection Using PHP 00:02:49
    63. Save Documents in a Collection Using PHP 00:03:11
    64. Update Documents in a Collection Using PHP 00:04:09
    65. Upsert Documents in a Collection Using PHP 00:04:30
    66. Implement the Python MongoDB Driver and Connect to MongoDB Using Python 00:02:36
    67. Retrieve Documents from MongoDB Using Python 00:02:38
    68. Retrieve Specific Documents from MongoDB Using Python 00:03:50
    69. Count the Number of Documents Represented by a Cursor in Python 00:02:00
    70. Sort Documents Represented by a Cursor in Python 00:03:42
    71. Limit the Number of Documents Represented by a Cursor in Python 00:02:26
    72. Limit Which Document Fields Are Returned from Find Requests in Python 00:04:21
    73. Page Through Documents in a Collection Using Python 00:03:00
    74. Retrieve Distinct Values for a Specific Field Using Python 00:03:20
    75. Group Documents by Field Values in Python 00:04:28
    76. Generate Aggregated Data from MongoDB in Python Applications 00:04:25
    77. Insert Documents into a Collection Using Python 00:03:49
    78. Delete Documents from a Collection Using Python 00:02:38
    79. Save Documents in a Collection Using Python 00:03:15
    80. Update Documents in a Collection Using Python 00:04:21
    81. Upsert Documents in a Collection Using Python 00:04:49
    82. Implement the Node.js MongoDB Driver and Connecting to MongoDB Using Node.js 00:03:09
    83. Retrieve Documents from MongoDB Using Node.js 00:03:03
    84. Retrieve Specific Documents from MongoDB Using Node.js 00:04:08
    85. Count the Number of Documents Represented by a Cursor in Node.js 00:02:17
    86. Sort Documents Represented by a Cursor in Node.js 00:03:50
    87. Limit the Number of Documents Represented by a Cursor in Node.js 00:03:29
    88. Limit Which Document Fields Are Returned from Find Requests in Node.js 00:03:38
    89. Page Through Documents in a Collection Using Node.js 00:03:44
    90. Retrieve Distinct Values for a Specific Field Using Node.js 00:03:15
    91. Group Documents by Field Values in Node.js 00:04:38
    92. Generate Aggregated Data from MongoDB in Node.js Applications 00:04:21
    93. Insert Documents into a Collection Using Node.js 00:04:35
    94. Delete Documents from a Collection Using Node.js 00:03:24
    95. Save Documents in a Collection Using Node.js 00:03:50
    96. Update Documents in a Collection Using Node.js 00:04:57
    97. Upsert Documents in a Collection Using Node.js 00:05:02
    98. Create a Copy of a MongoDB Database 00:01:42
    99. Rename a Collection in a MongoDB Database 00:02:11
    100. Create a Capped Collection in a MongoDB Database 00:02:15
    101. Implement Indexes on a Collection in a MongoDB Database 00:02:24
    102. Validate a MongoDB Database 00:01:38
    103. Implement Profiling on a MongoDB Database 00:02:34
    104. Analyze Queries on a MongoDB Database 00:01:51
    105. Analyze MongoDB Database Usage 00:01:45
    106. Create a MongoDB Replica Set 00:06:15
    107. Create a Sharded MongoDB Cluster 00:06:24
    108. Store and Retrieve Files in the MongoDB GridFS Store from the Console 00:02:38
    109. Access and Manipulate Files in the MongoDB GridFS Store from Java 00:04:31
    110. Access and Manipulate Files in the MongoDB GridFS Store from PHP 00:03:58
    111. Access and Manipulate Files in the MongoDB GridFS Store from Python 00:03:24
    112. Access and Manipulate Files in the MongoDB GridFS Store from Node.js 00:04:03