Miscellaneous
This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.
Property | Description |
BatchSize | The maximum size of each batch operation to submit. |
ConnectionLifeTime | The maximum lifetime of a connection in seconds. Once the time has elapsed, the connection object is disposed. |
ConnectOnOpen | This property specifies whether to connect to the MongoDB when the connection is opened. |
DataModel | By default, the provider will not automatically discover the metadata for a child table as its own distinct table. To enable this functionality, set DataModel to Relational . |
FlattenArrays | By default, nested arrays are returned as strings of JSON. The FlattenArrays property can be used to flatten the elements of nested arrays into columns of their own. Set FlattenArrays to the number of elements you want to return from nested arrays. |
FlattenObjects | Set FlattenObjects to true to flatten object properties into columns of their own. Otherwise, objects nested in arrays are returned as strings of JSON. |
GenerateSchemaFiles | Indicates the user preference as to when schemas should be generated and saved. |
MaxRows | Limits the number of rows returned rows when no aggregation or group by is used in the query. This helps avoid performance issues at design time. |
NoCursorTimeout | The server normally times out idle cursors after an inactivity period (10 minutes) to prevent excess memory use. Set this option to prevent that. |
Other | These hidden properties are used only in specific use cases. |
Pagesize | The maximum number of results to return per page from MongoDB. |
PoolIdleTimeout | The allowed idle time for a connection before it is closed. |
PoolMaxSize | The maximum connections in the pool. |
PoolMinSize | The minimum number of connections in the pool. |
PoolWaitTime | The max seconds to wait for an available connection. |
PseudoColumns | This property indicates whether or not to include pseudo columns as columns to the table. |
QueryPassthrough | This option passes the query to MongoDB as-is. |
Readonly | You can use this property to enforce read-only access to MongoDB from the provider. |
ReadPreference | Set this to a strategy for reading from a replica set. Accepted values are primary, primaryPreferred, secondary, secondaryPreferred, and nearest. |
ReadPreferenceTags | Use this property to target a replica set member or members that are associated with tags. |
RowScanDepth | The maximum number of rows to scan to look for the columns available in a table. |
RTK | The runtime key used for licensing. |
SlaveOK | This property sets whether the provider is allowed to read from secondary (slave) servers. |
Timeout | The value in seconds until the timeout error is thrown, canceling the operation. |
TypeDetectionScheme | Comma-separated options for how the provider will scan the data to determine the fields and datatypes in each document collection. |
UpdateScheme | Sets replacing or merging target document with updating fields is performed by executing update statement. |
UseConnectionPooling | This property enables connection pooling. |
UseFindAPI | Execute MongoDB queries using db.collection.find(). |
UserDefinedViews | A filepath pointing to the JSON configuration file containing your custom views. |
WriteConcern | Requests acknowledgment that the write operation has propagated to the specified number of mongod instances. |
WriteConcernJournaled | Requires acknowledgment that the mongod instances, as specified in the WriteConcern property, have written to the on-disk journal. |
WriteConcernTimeout | This option specifies a time limit, in milliseconds, for the write concern. |
WriteScheme | Sets whether the object type for inserted or updated objects is determined from the existing column metadata or the input value type. |