ga-wdi-boston / mongodb-crud

An introduction to MongoDB
Other
1 stars 136 forks source link

.count() in solution code did not log or display #34

Open MicFin opened 7 years ago

MicFin commented 7 years ago

Review the solution code. The .count() method did not display or log when run from the file so I ran the examples in the terminal.

db.people.find(
  {
    height: {
      $lt: 60,
    }
  }
).count()

https://github.com/ga-wdi-boston/mongodb-crud/blob/solution/scripts/find/people.js