Skip to content

Commit bec2540

Browse files
committed
Upd docs/en/engines/table-engines/integrations/mongodb.md
1 parent 14cb02a commit bec2540

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

  • docs/en/engines/table-engines/integrations

docs/en/engines/table-engines/integrations/mongodb.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,8 @@ CREATE TABLE [IF NOT EXISTS] [db.]table_name
4242
- `options` — MongoDB connection string options (optional parameter).
4343

4444
:::tip
45-
If you are using the MongoDB Atlas cloud offering:
46-
47-
```
48-
- connection url can be obtained from 'Atlas SQL' option
49-
- use options: 'connectTimeoutMS=10000&ssl=true&authSource=admin'
50-
```
45+
If you are using the MongoDB Atlas cloud offering connection url can be obtained from 'Atlas SQL' option.
46+
Seed list(`mongodb**+srv**`) is not yet supported, but will be added in future releases.
5147
:::
5248

5349
Also, you can simply pass a URI:
@@ -124,7 +120,7 @@ CREATE TABLE sample_mflix_table
124120
released Date,
125121
imdb String,
126122
year String,
127-
) ENGINE = MongoDB('mongodb+srv://<USERNAME>:<PASSWORD>@cluster0.cdojylq.mongodb.net/sample_mflix', 'movies');
123+
) ENGINE = MongoDB('mongodb://<USERNAME>:<PASSWORD>@atlas-sql-6634be87cefd3876070caf96-98lxs.a.query.mongodb.net/sample_mflix?ssl=true&authSource=admin', 'movies');
128124
```
129125

130126
Query:

0 commit comments

Comments
 (0)