Docs Menu

Docs HomeLaunch & Manage MongoDBMongoDB Atlas

1

Create a file named date-number-to-string-query.js.

2

Copy and paste the code for the operator for which you created the index into the date-number-to-string-query.js file.

If you created an index that uses dynamic mappings, you can query the airbnb_mat_view collection using the queryString operator. If you created an index that uses static mappings, you can query the airbnb_mat_view collection using the autocomplete operator.

3

Run the following command to query your collection:

What is MongoDB Atlas? →