From ce02e2746c04e2f22edd6658ddc7edbc2d005568 Mon Sep 17 00:00:00 2001 From: Renato Francia Castillo Date: Tue, 2 Apr 2019 12:16:50 -0500 Subject: [PATCH] =?UTF-8?q?Fixed=20grammar=20in=20article=20chain-search-q?= =?UTF-8?q?uery-helpers-to-narrow-search-=E2=80=A6=20(#35521)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Fixed grammar in article chain-search-query-helpers-to-narrow-search-results * Remove guide template --- .../index.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/guide/english/certifications/apis-and-microservices/mongodb-and-mongoose/chain-search-query-helpers-to-narrow-search-results/index.md b/guide/english/certifications/apis-and-microservices/mongodb-and-mongoose/chain-search-query-helpers-to-narrow-search-results/index.md index 284e5b781e..a94abea66e 100644 --- a/guide/english/certifications/apis-and-microservices/mongodb-and-mongoose/chain-search-query-helpers-to-narrow-search-results/index.md +++ b/guide/english/certifications/apis-and-microservices/mongodb-and-mongoose/chain-search-query-helpers-to-narrow-search-results/index.md @@ -3,7 +3,7 @@ title: Chain Search Query Helpers to Narrow Search Results --- ## Chain Search Query Helpers to Narrow Search Results -1. To create but not execut a find query +1. To create but not execute a find query ```javascript Model.find( {name: 'Leah'} ) ``` @@ -33,7 +33,7 @@ yourArray.select( {name: 0, age: 1} ) // Here: 0 means false and thus hide name ```        -6. To exec this query, you can either:
+6. To execute this query, you can either:
  1) Callback: ```javascript YourQuery.exec(function(err, docs) { @@ -53,5 +53,3 @@ Person.find({age: 55}).sort({name: -1}).limit(5).select( {favoriteFoods: 0} ).ex //do something here }) ``` -
-
\ No newline at end of file