Skip to content

Commit bf15ec2

Browse files
author
Abhilasha Narendra
committed
Fixing review comments
Former-commit-id: 4e9bc30
1 parent 6ab82d2 commit bf15ec2

6 files changed

+109
-101
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: "What’s New"
3+
---
4+
5+
<div id="whats_new" class="registered_link"></div>
6+
7+
The following features are added to create MongoDB Foreign Data Wrapper `5.2.9`:
8+
9+
- Updated mongo-c-driver to 1.17.3
10+
- Updated json-c to 0.15

product_docs/docs/mongo_data_adapter/5.2.9/04_installing_the_mongo_data_adapter.mdx

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ You can install the MongoDB Foreign Data Wrapper using an RPM package on the fol
7171
dnf install edb-as<xx>-mongo_fdw
7272
```
7373

74-
where `xx` is the server version number.
74+
where `xx` is the server version number.
7575

7676

7777
<div id="rhel7" class="registered_link"></div>
@@ -108,7 +108,7 @@ You can install the MongoDB Foreign Data Wrapper using an RPM package on the fol
108108
dnf install edb-as<xx>-mongo_fdw
109109
```
110110

111-
where `xx` is the server version number.
111+
where `xx` is the server version number.
112112

113113

114114

@@ -184,9 +184,7 @@ You can install the MongoDB Foreign Data Wrapper using an RPM package on the fol
184184
dnf install edb-as<xx>-mongo_fdw
185185
```
186186

187-
where `xx` is the server version number.
188-
189-
187+
where `xx` is the server version number.
190188

191189

192190
<div id="centos8" class="registered_link"></div>
@@ -290,4 +288,4 @@ The following steps will walk you through using the EDB apt repository to instal
290288
apt-get install edb-as<xx>-mongo-fdw
291289
```
292290

293-
where `xx` is the server version number.
291+
where `xx` is the server version number.

product_docs/docs/mongo_data_adapter/5.2.9/05_updating_the_mongo_data_adapter.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Updating the MongoDB Foreign Data Wrapper"
44

55
<div id="updating_the_mongo_data_adapter" class="registered_link"></div>
66

7-
**Updating an RPM Installation**
7+
## Updating an RPM Installation
88

99
If you have an existing RPM installation of MongoDB Foreign Data Wrapper, you can use yum or dnf to upgrade your repository configuration file and update to a more recent product version. To update the `edb.repo` file, assume superuser privileges and enter:
1010

@@ -36,7 +36,7 @@ yum or dnf will update the `edb.repo` file to enable access to the current EDB r
3636

3737
where `xx` is the server version number.
3838

39-
**Updating MongoDB Foreign Data Wrapper on a Debian or Ubuntu Host**
39+
## Updating MongoDB Foreign Data Wrapper on a Debian or Ubuntu Host
4040

4141
To update MongoDB Foreign Data Wrapper on a Debian or Ubuntu Host, use the following command:
4242

product_docs/docs/mongo_data_adapter/5.2.9/06_features_of_mongo_fdw.mdx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,38 @@ The key features of the MongoDB Foreign Data Wrapper are listed below:
88

99
## Writable FDW
1010

11-
The MongoDB Foreign Data Wrapper allows you to modify data on a MongoDB server. Users can `INSERT`, `UPDATE` and `DELETE` data in the remote MongoDB collections by inserting, updating and deleting data locally in foreign tables. See also:
11+
The MongoDB Foreign Data Wrapper allows you to modify data on a MongoDB server. Users can `INSERT`, `UPDATE` and `DELETE` data in the remote MongoDB collections by inserting, updating and deleting data locally in foreign tables.
1212

13-
[Example: Using the MongoDB Foreign Data Wrapper](08_example_using_the_mongo_data_adapter/#example_using_the_mongo_data_adapter)
13+
See also:
1414

15-
[Data Type Mappings](07_configuring_the_mongo_data_adapter/#data-type-mappings)
15+
- [Example: Using the MongoDB Foreign Data Wrapper](08_example_using_the_mongo_data_adapter/#example_using_the_mongo_data_adapter)
1616

17-
## Where Clause Push-down
17+
- [Data Type Mappings](07_configuring_the_mongo_data_adapter/#data-type-mappings)
1818

19-
MongoDB Foreign Data Wrapper allows the push-down of `WHERE` clause only when clauses include comparison expressions that have a column and a constant as arguments. WHERE clause push-down is not supported where constant is an array.
19+
## WHERE Clause Push-down
20+
21+
MongoDB Foreign Data Wrapper allows the push-down of the `WHERE` clause only when clauses include the comparison expressions that have a column and a constant as arguments. `WHERE` clause push-down is not supported where the constant is an array.
2022

2123
## Connection Pooling
2224

23-
Mongo_FDW establishes a connection to a foreign server during the first query that uses a foreign table associated with the foreign server. This connection is kept and reused for subsequent queries in the same session.
25+
The MongoDB Foreign Data Wrapper establishes a connection to a foreign server during the first query that uses a foreign table associated with the foreign server. This connection is kept and reused for subsequent queries in the same session.
2426

2527
## Automated Cleanup
2628

2729
The MongoDB Foreign Data Wrapper allows the cleanup of foreign tables in a single operation using the `DROP EXTENSION` command. This feature is especially useful when a foreign table has been created for a temporary purpose. The syntax of a `DROP EXTENSION` command is:
2830

29-
> `DROP EXTENSION mongo_fdw CASCADE;`
31+
`DROP EXTENSION mongo_fdw CASCADE;`
3032

3133
For more information, see [DROP EXTENSION](https://www.postgresql.org/docs/current/sql-dropextension.html).
3234

3335
## Full Document Retrieval
3436

35-
This feature allows to retrieve documents along with all their fields from collection without any knowledge of the fields in BSON document available in MongoDB's collection. Those retrieved documents are in the JSON format.
37+
This feature allows you to retrieve documents along with all their fields from collection without any knowledge of the fields in the BSON document available in MongoDB's collection. Those retrieved documents are in JSON format.
3638

3739
You can retrieve all available fields in a collection residing in MongoDB Foreign Data Wrapper as explained in the following example:
3840

3941
**Example**:
4042

41-
The collection in MongoDB Foreign Data Wrapper:
42-
4343
```text
4444
> db.warehouse.find();
4545
{ "_id" : ObjectId("58a1ebbaf543ec0b90545859"), "warehouse_id" : 1, "warehouse_name" : "UPS", "warehouse_created" : ISODate("2014-12-12T07:12:10Z") }
@@ -48,13 +48,13 @@ The collection in MongoDB Foreign Data Wrapper:
4848

4949
Steps for retrieving the document:
5050

51-
1. Create foreign table with a column name `__doc`. The type of the column could be json, jsonb, text or varchar.
51+
1. Create foreign table with a column name `__doc`. The type of the column could be json, jsonb, text, or varchar.
5252

5353
```text
5454
CREATE FOREIGN TABLE test_json(__doc json) SERVER mongo_server OPTIONS (database 'testdb', collection 'warehouse');
5555
```
5656

57-
1. Retrieve the document.
57+
2. Retrieve the document.
5858

5959
```text
6060
SELECT * FROM test_json ORDER BY __doc::text COLLATE "C";

0 commit comments

Comments
 (0)