- Advanced Node.js Development
- Andrew Mead
- 81字
- 2021-08-27 19:05:54
Fetching data
Now that you know how to insert data into your database, let's go ahead and talk about how we can fetch data out of it. We're going to be using this technique in the Todo API. People are going to want to populate a list of all the Todo items they need, and they might want to fetch the details about an individual Todo item. All of this is going to require that we can query the MongoDB database.