1. Field description
Collection. field (projection: Object): Collection
support: applet, cloud function, Web
Specify the fields to be returned for the records in the returned results
Parameter
projection: Object
The description
method accepts a required object to specify the fields to be returned. Each key of the object indicates the fields to be returned or not to be returned. The value passed in true|false (or 1|-1) indicates whether to return or not to return.
2. How to use
The structure of the winning bid in the database:
According to the where query, specify the conditions, and according to the field query, return the value of the required field.
Obtained results: