Skip to content

Commit 17ab049

Browse files
committed
small fixes
1 parent 08855cb commit 17ab049

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

docs/fundamentals/read-operations.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,7 @@ collection:
8383

8484
SampleModel::get();
8585

86-
/* Or, use the all() method. */
87-
86+
// Or, use the all() method.
8887
SampleModel::all();
8988

9089
To view a runnable example that finds documents, see the
@@ -116,8 +115,7 @@ The following code shows how to count documents in a collection:
116115

117116
SampleModel::count();
118117

119-
/* You can also count documents that match a filter. */
120-
118+
// You can also count documents that match a filter.
121119
SampleModel::where('<field name>', '<value>')
122120
->count();
123121

docs/fundamentals/write-operations.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,7 @@ matching document doesn't exist:
133133
['upsert' => true],
134134
);
135135

136-
/* Or, use the upsert() method. */
137-
136+
// Or, use the upsert() method.
138137
SampleModel::upsert(
139138
[<documents to update or insert>],
140139
'<unique field name>',

0 commit comments

Comments
 (0)