Skip to content

Commit 6c9866f

Browse files
authored
Merge pull request #4220 from kevin8999/patch-4
fix: Update broken link in part 3c
2 parents 32ed9c3 + df2be18 commit 6c9866f

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

src/content/3/en/part3c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ When the code is executed, the program prints all the notes stored in the databa
267267

268268
The objects are retrieved from the database with the [find](https://mongoosejs.com/docs/api/model.html#model_Model-find) method of the _Note_ model. The parameter of the method is an object expressing search conditions. Since the parameter is an empty object<code>{}</code>, we get all of the notes stored in the _notes_ collection.
269269

270-
The search conditions adhere to the Mongo search query [syntax](https://docs.mongodb.com/manual/reference/operator/).
270+
The search conditions adhere to the Mongo search query [syntax](https://www.mongodb.com/docs/manual/tutorial/query-documents/).
271271

272272
We could restrict our search to only include important notes like this:
273273

src/content/3/es/part3c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,7 @@ Cuando se ejecuta el código, el programa imprime todas las notas almacenadas en
273273

274274
Los objetos se recuperan de la base de datos con el método [find](https://mongoosejs.com/docs/api.html#model_Model.find) del modelo _Note_. El parámetro del método es un objeto que expresa condiciones de búsqueda. Dado que el parámetro es un objeto vacío <code>{}</code>, obtenemos todas las notas almacenadas en la colección _notes_.
275275

276-
Las condiciones de búsqueda se adhieren a la [sintaxis](https://docs.mongodb.com/manual/reference/operator/) de consulta de búsqueda de Mongo.
276+
Las condiciones de búsqueda se adhieren a la [sintaxis](https://www.mongodb.com/docs/manual/tutorial/query-documents/) de consulta de búsqueda de Mongo.
277277

278278
Podríamos restringir nuestra búsqueda para incluir solo notas importantes de la siguiente manera:
279279

src/content/3/fi/osa3c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ Kun koodi suoritetaan, kantaan talletetut muistiinpanot tulostuvat:
260260

261261
Oliot haetaan kannasta _Note_-modelin metodilla [find](https://mongoosejs.com/docs/api.html#model_Model.find). Metodin parametrina on hakuehto. Koska hakuehtona on tyhjä olio <code>{}</code>, saimme kannasta kaikki _notes_-kokoelmaan talletetut oliot.
262262

263-
Hakuehdot noudattavat MongoDB:n [syntaksia](https://docs.mongodb.com/manual/reference/operator/).
263+
Hakuehdot noudattavat MongoDB:n [syntaksia](https://www.mongodb.com/docs/manual/tutorial/query-documents/).
264264

265265
Voisimme hakea esim. ainoastaan tärkeät muistiinpanot seuraavasti:
266266

src/content/3/fr/part3c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Lorsque le code est exécuté, le programme imprime toutes les notes stockées d
274274

275275
Les objets sont récupérés dans la base de données avec la méthode [find](https://mongoosejs.com/docs/api/model.html#model_Model-find) du modèle _Note_. Le paramètre de la méthode est un objet exprimant les conditions de recherche. Comme le paramètre est un objet vide<code>{}</code>, nous obtenons toutes les notes stockées dans la collection _notes_.
276276

277-
Les conditions de recherche sont conformes à la requête de recherche Mongo [syntaxe](https://docs.mongodb.com/manual/reference/operator/).
277+
Les conditions de recherche sont conformes à la requête de recherche Mongo [syntaxe](https://www.mongodb.com/docs/manual/tutorial/query-documents/).
278278

279279
Nous pourrions restreindre notre recherche pour n'inclure que les notes importantes comme ceci :
280280

src/content/3/ptbr/part3c.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ Quando o código é executado, o programa imprime todas as notas armazenadas no
267267

268268
Os objetos são recuperados do banco de dados com o método [find](https://mongoosejs.com/docs/api/model.html#model_Model-find) do modelo _Note_. O parâmetro do método é um objeto que expressa condições de pesquisa. Como o parâmetro é um objeto vazio<code>{}</code>, obtemos todas as notas armazenadas na coleção _notes_.
269269

270-
As condições de pesquisa aderem à [sintaxe](https://docs.mongodb.com/manual/reference/operator/) de consulta do Mongo.
270+
As condições de pesquisa aderem à [sintaxe](https://www.mongodb.com/pt-br/docs/manual/tutorial/query-documents/) de consulta do Mongo.
271271

272272
Podemos restringir nossa pesquisa incluindo apenas notas importantes:
273273

src/content/3/zh/part3c.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ Note.find({}).then(result => {
325325
<!-- The objects are retrieved from the database with the [find](https://mongoosejs.com/docs/api/model.html#model_Model-find) method of the _Note_ model. The parameter of the method is an object expressing search conditions. Since the parameter is an empty object<code>{}</code>, we get all of the notes stored in the _notes_ collection. -->
326326
对象是通过 _Note_ 模型的 [find](https://mongoosejs.com/docs/api/model.html#model_Model-find) 方法从数据库中获取的。find 方法的参数是一个表示搜索条件的对象。由于参数是一个空对象<code>{}</code>,我们得到了 _notes_ 集合中存储的所有笔记。
327327

328-
<!-- The search conditions adhere to the Mongo search query [syntax](https://docs.mongodb.com/manual/reference/operator/). -->
329-
搜索条件遵循 Mongo 的搜索查询[语法](https://docs.mongodb.com/manual/reference/operator/)
328+
<!-- The search conditions adhere to the Mongo search query [syntax](https://www.mongodb.com/zh-cn/docs/manual/tutorial/query-documents/). -->
329+
搜索条件遵循 Mongo 的搜索查询[语法](https://www.mongodb.com/zh-cn/docs/manual/tutorial/query-documents/)
330330

331331
<!-- We could restrict our search to only include important notes like this: -->
332332
我们可以这么限制我们的搜索,使其只包含重要的笔记:

0 commit comments

Comments
 (0)