Skip to content

Commit

Permalink
Small change to formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpe442 committed Dec 17, 2024
1 parent a41ba4a commit a286607
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,13 @@ Steps for retrieving the document:
(2 rows)
```

### Accessing nested fields
## Accessing nested fields

MongoDB Foreign Data Wrapper allows you to access individual fields within nested JSON documents by mapping the nested structure to columns in a foreign table.
This works by mapping the nested structure of the MongoDB document to relational columns in the foreign table definition, using dot notation (key2.subkey21) to reference nested fields.
You can retrieve these fields from a collection as shown in the following example:

#### Example
### Example

```text
db1> db.test_sub_json.find()
Expand Down

0 comments on commit a286607

Please sign in to comment.