MongoDB
Following sections explain the reverse engineering options for MongoDB.
Parameter |
Description |
Additional Information |
---|---|---|
Database | Specifies the reverse engineering process from a MongoDB | |
Script File | Specifies the reverse engineering process using a script |
Parameter |
Description |
Additional Information |
---|---|---|
Connection Method | Specifies the type of connection you want to use. Select Direct to connect to connect to your database directly. Select Connection String to connect to your database using a connection string. | |
Hostname/IP | Specifies the hostname or IP address of the server where your database is hosted | This option is available when Connection Method is set to Direct. |
Port | Specifies the port configured for your database | This option is available when Connection Method is set to Direct. |
Database | Specifies the name of the database to which you want to connect | This option is available when Connection Method is set to Direct. |
LDAP | Specifies whether to use LDAP protocol for authentication and authorization | This option is available when Connection Method is set to Direct. |
Connection String |
Specifies the connection string in the following format: mongodb://[username:password@]host1[:port1][,...hostN[:portN]][/[defaultauthdb][?options]] |
For example, mongodb+srv://myusername:****@ cluster0.v7gra.mongodb.net/test?retry Writes=true&w=majority This option is available when Connection Method is set to Connection String. Connection string supports SSL certificate path and socket timeout parameter. When you connect to a local database using the SSL certificate, ensure that the connection string contains "tlsAllowInvalidCertificates=true" parameter. |
Parameter |
Description |
Additional Information |
---|---|---|
System Objects | Specifies whether to include system objects for database selection | |
Available Databases | Displays the available databases | |
Selected Databases | Displays the selected databases |
Parameter |
Description |
Additional Information |
---|---|---|
Document Count | Specify the number of documents or percentage of total records that the newly generated model schema would contain | |
Deep Search | Specify whether the deep search algorithm is used to retrieve the right samples for schema generation | |
Sampling | Use the Sequence or Random sampling methods to sample records in the selected collections. Sampling enables you to retrieve right estimates for accurate collection schema generation. | |
Available Collections | Displays the available collections | MongoDB 5.x supports Time Series Collections. These collections are indicated using |
Selected Collections | Displays the selected collections |
Parameter |
Description |
Additional Information |
---|---|---|
Option Set | Specifies the option set template for reverse engineering |
Open: Use this option to open a saved XML option set file. Save: Use this option to save the configured option set. Save As: Use this option to save an option set either in the model or in the XML format at some external location. Delete: Use this option to delete an option set. |
<Option Set Name> | Specifies the objects to be reverse engineered according to the selected option set. You can edit this list. |
Parameter |
Description |
Additional Information |
---|---|---|
Glossary CSV File | Specifies the naming standard glossary file in the .CSV format | |
Case Conversion of Physical Names | Specifies how the case conversion of physical names is handled |
None: Indicates that the same case is preserved as it appears in the script file lower: Indicates that the names are converted to lower case UPPER: Indicates that the names are converted to upper case Force: Indicates whether the physical name property of all the logical/physical models is overridden. If this option is not enabled, all logical and physical names are set to the same value after the process completes. If this option is enabled, the logical/physical link is broken between the logical and physical name. |
Case Conversion of Logical Names | Specifies how the case conversion of logical names is handled |
None: Indicates that the same case is preserved as it appears in the script file lower: Indicates that the names are converted to lower case UPPER: Indicates that the names are converted to upper case Mixed: Indicates that the mixed-case logical names are preserved |
Save Field Value |
Specifies whether values of attributes or fields are saved to the model |
Field values are saved and displayed on the MongoDB Collection Field Editor as follows:
|
Parameter |
Description |
Additional Information |
---|---|---|
Model | Specifies the location and name of the reverse engineered model |
For example: C:\Scheduler\<Model Name>.erwin When you schedule a job on a remote server, ensure the model path is same for remote and local server. |
Mart Folder | Specifies the location or library in your mart where the reverse engineered model is saved |
To use this option, ensure that you are connected to a mart. For more information, refer to the Connecting to Mart topic. |
Complete Compare | Specifies whether the Complete Compare (CC) process should run while reverse engineering | |
Output File | Specifies the location of the CC output file generated | |
File | Specifies that the target model location is on the local system | |
Mart | Specifies that the target model location is in the mart | |
Using Latest Version | Specifies whether the target model is the latest version of the model in the mart | This option is available only when Mart is selected. |
Save To Mart | Specifies whether the reverse engineered model is saved to the mart | This option is available only when Using Latest Version is selected. |
Target Model | Specifies the location of the target model for CC | |
Option Set | Specifies the option set that is used for CC |
Advanced Default Option Set: Indicates that all erwin DM metadata is included. CC works slowest with this option. Speed Option Set: Indicates that only the essential metadata is included. CC works the fastest with this option set. Standard Default Option Set: Indicates that standard metadata is included. CC works fast with this option set compared to the Advanced option set. In addition to the above options, click Browse to select a custom option set for complete compare. |
Compare Level |
Specifies the selection type for the compare |
Logical / Physical: Compares all objects on the logical or physical level of a model Logical: Compares all objects on the logical level of a model Physical: Compares all objects on the physical level of a model Database: Compares all objects on the database level of a model |
Parameter |
Description |
Additional Information |
---|---|---|
erwin Project | Specifies whether to configure the model for an existing erwin project | |
Model Name | Specifies the name of the erwin project | |
Location | Specifies the location of the project |
Copyright © 2024 Quest Software, Inc. |