Share via


QueryBuildDataSource.addDataSource Method

Adds a data source that is embedded in this data source.

Syntax

public QueryBuildDataSource addDataSource(
    anytype arg, 
   [str name, 
    boolean emptyFieldList])

Run On

Called

Parameters

  • arg
    Type: anytype
    The table that is assigned to the data source.
  • name
    Type: str
    The name for use for the data source that is added; optional. If no name is specified for the new data source, the name of the table is used.

Return Value

Type: QueryBuildDataSource Class
The new data source.

Remarks

Top-level data sources are created by using the addDataSource method.

See Also

QueryBuildDataSource Class

Query.addDataSource Method