ADO.NET Provider for MongoDB

Build 24.0.9060

TypeDetectionScheme

Comma-separated options for how the provider will scan the data to determine the fields and datatypes in each document collection.

Possible Values

RowScan, None, Recent

Data Type

string

Default Value

"RowScan"

Remarks

NoneSetting TypeDetectionScheme to None will return all columns as a string type. Cannot be combined with other options.
RowScanSetting TypeDetectionScheme to RowScan will scan rows to heuristically determine the data type. The RowScanDepth determines the number of rows to be scanned. Can be used with Recent.
RecentSetting TypeDetectionScheme to 'Recent' will instead execute the rowscan on the most recent documents inserted into the collection. This is a more expensive operation that may be significantly slower on large datasets.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060