Setting the Query Database Operation Options

The Query object also has methods that allow you to set options such as limit, skip, and select that define how the request is processed on the server. You can set these options in the options parameter in the methods listed in Table 16.2 or by calling the methods on the Query object listed in Table 16.3.

Image

Table 16.3 Methods available on Query and Model objects to set database operation options

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

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