Skip to content

Commit 3bd4511

Browse files
committed
wording
1 parent fd0c6c9 commit 3bd4511

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

docs/fundamentals/database-collection.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,11 @@ methods in your application:
199199
- ``Schema::getTables()``: lists the name and size of each collection by
200200
using the schema builder
201201

202+
.. note::
203+
204+
MongoDB is a schemaless database, so the preceding schema builder functions
205+
query the database data rather than the schema.
206+
202207
Example
203208
```````
204209

@@ -254,8 +259,8 @@ collection fields:
254259

255260
.. note::
256261

257-
MongoDB is a schemaless database, so the preceding functions query the specified
258-
collection rather than the database schema. If the collection doesn't exist
262+
MongoDB is a schemaless database, so the preceding functions query the collection
263+
data rather than the database schema. If the specified collection doesn't exist
259264
or is empty, these functions return a value of ``false``.
260265

261266
Example

0 commit comments

Comments
 (0)