Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Excerpt

You can create connections to MongoDB and MongoDB Atlas connections through 

D s webapp
.  These connections enable to read data from the MongoDB workspace.

Supported Versions: n/a

  • Database versions: 2.6 - 5.0

Supported Environments:

Operation

D s product

AmazonMicrosoft Azure
ReadSupportedSupportedSupported
WriteNot supportedNot supported

Not supported


Prerequisites

  • MongoDB supports basic (username/password) authentication.

...

To create a MongoDB Atlas connection, please specify the following properties:

PropertyDescription
Host

Name of the host.

PortSet this value to the port number through which to access MongoDB. By default, this value is 27017.
Database

The database that you want to read

Replica Set

(Optional) Comma-separated list of secondary servers in the replica set, specified by address and port.

replica set  is a group of mongoDB  processes that maintain the same data set. Replica sets provide redundancy and high availability and are the basis for all production deployments.  For more information, see https://docs.mongodb.com/manual/replication/.

Secondary ReadsEnable this checkbox if you want to read from secondary (slave) servers.
Connect String Options

(Optional) The option sets the connection timeout in milliseconds:

Code Block
Timeout=0;

The default value is 0, which disables connection timeouts. See below for more information.

Test Connection

After you have defined the connection credentials type, credentials, and connection string, you can verify that the

D s webapp
can use them to connect to the database.

Default Column Data Type Inference

Set to disabled to prevent the product from applying its own type inference to each column on import. The default value is enabled.

Connection NameDisplay name of the connection
Connection Description(Optional) Description of the connection, which appears in the application.

For more information on these settings, see http://cdn.cdata.com/help/DGG/jdbc/default.htm.

...

When data is imported from MongoDB, the supported data types from the source are converted to corresponding data types supported by the 

D s webapp
informaltrue
. For more information, see Type Conversions.

Source Data TypeSupported

D s item
itemdata type

ObjectIdY

String

RegExYString
StringYString
BinaryYString
IntegerYInteger
TimestampYDatetime
DoubleYFloat
ArrayYString
BoolYbool
NullYString
DateYDatetime

Write/Publish

Not supported.

...