File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff 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
9089To 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
Original file line number Diff line number Diff 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>',
You can’t perform that action at this time.
0 commit comments