BuiltInColumnMapping Parameter (Connect-MongoDB Cmdlet)
A list of column name mappings for MongoDB's built-in columns.
Syntax
Connect-MongoDB -BuiltInColumnMapping string
Data Type
cstr
Default Value
""
Remarks
This property takes a comma-separated list of MongoDB column names for built-in columns and maps them to new names.
The remappable built-in columns are "_index" and "P_id".
For example:
_index=BuiltInIndex,P_id=Parent_Id
Remapping these columns is particularly useful for resolving "column names must be unique" errors that can arise when the cmdlet finds additional columns named "_index" or "P_id" other than the built-in columns.