PowerExchange for MongoDB User Guide

PowerExchange for MongoDB User Guide

Virtual Table Options

Virtual Table Options

Configure the virtual table options to create virtual tables for a collection that contains arrays.
The following table describes the virtual table options in the Informatica MongoDB ODBC driver:
Property
Description
Enable Virtual Table Detection
The driver creates virtual tables if the collection contains arrays.
Default is disabled.
Virtual Main Table Suffix
The suffix for the main virtual table.
Default is main.
Virtual Key Column Separator
The separator for the key columns in a virtual table. The virtual key column separator must be consistent across connections used in a mapping. For example, if one connection uses the period (.) as the virtual key column separator and another connection in the same mapping uses the underscore (_) as the separator, then the mapping fails.
You can use either the underscore (_) or the period (.) as the virtual key column separator. Default is period (.).
Virtual Table Name Separator
The separator in the virtual table name.
Default is _vt_.
If tables in the MongoDB database and virtual tables have the same names, metadata import might be corrupted. To avoid importing corrupted metadata, do not use table names that contain the virtual table separator in the MongoDB database.
Virtual Table Index Column Suffix
The suffix for the virtual table index column.
Default is index.
Hide Real Table if Virtual Tables Created
Hide the real tables if the corresponding virtual tables are created.
Default is disabled.
Show Array Counts In Virtual Main Table
The virtual tables contain columns that show the array count.
Default is disabled.
Virtual Table Array Count Prefix
The prefix for the virtual table array count column.
Default is Number of.
Enable Any Match Columns Detection
The driver filters the data and selects rows where a value in a top-level array matches a specified expression and then returns the results as columns in a virtual table.
Any Match Table Name Prefix
The prefix for naming the array column in an any match virtual table.
Any Match Column Separator
The separator for naming the columns in an any match virtual table.

0 COMMENTS

We’d like to hear from you!