@@ -95,14 +95,13 @@ Steps
9595 'connections' => [
9696 'mongodb' => [
9797 'driver' => 'mongodb',
98- 'dsn' => env('MONGODB_URI', ' <connection string>') ,
98+ 'dsn' => ' <connection string>',
9999 'database' => 'db',
100100 ],
101101
102- Ensure that you either replace the connection string placeholder
103- in the preceding code or set the ``MONGODB_URI`` environment variable to
104- your connection string before you run your application. To learn
105- how to locate your connection string, see
102+ Ensure that you replace the connection string placeholder
103+ in the preceding code with your connection string before you run
104+ your application. To learn how to locate your connection string, see
106105 :ref:`laravel-quick-start-connection-string` in the Quick Start
107106 guide.
108107
@@ -218,7 +217,7 @@ Steps
218217 ]);
219218 });
220219
221- After inserting the document, you can retrieve it by using the
220+ After you insert the document, you can retrieve it by using the
222221 ``where()`` method as shown in the following code:
223222
224223 .. code-block:: php
@@ -318,7 +317,7 @@ Steps
318317
319318 MongoDB provides the Query API for optimized queries.
320319
321- You can begin building a query from a ``collection`` object.
320+ You can begin to build a query by using a ``collection`` object.
322321 Eloquent exposes the full capabilities of the underlying database
323322 by using "raw queries," which Laravel sends to the database
324323 without any processing from the Eloquent Query Builder.
@@ -408,7 +407,7 @@ Steps
408407 $result->getDeletedCount() ];
409408 });
410409
411- To learn more about performing CRUD operations, see the
410+ To learn more about how to perform CRUD operations, see the
412411 :ref:`laravel-fundamentals-write-ops` and
413412 :ref:`laravel-fundamentals-read-ops` guides.
414413
@@ -461,7 +460,7 @@ Steps
461460 .. step:: Use indexes to optimize query performance.
462461
463462 You can create indexes to support your queries and improve
464- performance. To learn more about creating indexes
463+ performance. To learn more about how to create indexes
465464 programmatically, see the :ref:`laravel-eloquent-indexes` section
466465 of the Schema Builder guide.
467466
0 commit comments