Understanding Database Change Options

Several of the methods discussed in this chapter modify a MongoDB database. When you make changes to a database, the MongoDB Node.js driver needs to know how to handle the connection during the change process. For that reason, each of the methods that change the database allow you to pass in an optional options parameter that can specify some or all of the properties listed in Table 14.1.

Image

Table 14.1 Options that can be specified in the options parameter for database changes

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.23.103.112