Skip to content

Commit 973941a

Browse files
committed
nit
1 parent 4d324d0 commit 973941a

File tree

1 file changed

+2
-2
lines changed
  • docs/integrations/data-ingestion/clickpipes/mongodb

1 file changed

+2
-2
lines changed

docs/integrations/data-ingestion/clickpipes/mongodb/faq.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ title: 'ClickPipes for MongoDB FAQ'
1010

1111
### Can I query for individual fields in the JSON datatype? {#can-i-query-for-individual-fields-in-the-json-datatype}
1212

13-
For direct field access, such as {"user_id": 123}, you can use **dot notation**:
13+
For direct field access, such as `{"user_id": 123}`, you can use **dot notation**:
1414
```sql
1515
SELECT doc.user_id as user_id FROM your_table;
1616
```
17-
For direct field access of nested object fields, such as {"address": { "city": "San Francisco", "state": "CA" }}, use the `^` operator:
17+
For direct field access of nested object fields, such as `{"address": { "city": "San Francisco", "state": "CA" }}`, use the `^` operator:
1818
```sql
1919
SELECT doc.^address.city AS city FROM your_table;
2020
```

0 commit comments

Comments
 (0)