Skip to content

Commit e2145b6

Browse files
committed
RR feedback
1 parent 6c12f4d commit e2145b6

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/usage-examples/findOne.txt

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
Find a Document
55
===============
66

7-
You can retrieve a single document from a collection by calling the ``where()`` and
7+
You can retrieve a single document from a collection by chaining the ``where()`` and
88
``first()`` methods on an Eloquent model or a query builder.
99

1010
Pass a query filter to the ``where()`` method and call the ``first()`` method to return
1111
one document in the collection that matches the filter. If multiple documents match the
1212
query filter, ``first()`` returns the first matching document according to the documents'
13-
:term:`natural order` in the database or according to the sort order specified by the
14-
``orderBy()`` method.
13+
:term:`natural order` in the database or according to the sort order that you can specify
14+
by using the ``orderBy()`` method.
1515

1616
To learn more about retrieving documents, see the :ref:`laravel-fundamentals-retrieve` guide.
1717

@@ -111,5 +111,8 @@ To perform the find operation, start your Laravel application by running the fol
111111

112112
php artisan serve
113113

114-
Then, open the URL http://127.0.0.1:8000/browse_movies in your web browser to view the expected
115-
output.
114+
Then, open the following URL in your web browser to view the expected output:
115+
116+
.. code-block:: none
117+
118+
http://127.0.0.1:8000/browse_movies

0 commit comments

Comments
 (0)