Skip to main content
Version: 11.2

$.udb(ds).realDataSource()

note

This article is about the realDataSource() function of the DataSourceContainer object.

$.udb(ds).realDataSource()

Gets the data source that a virtual data source is connected to.

Returns a UdbDataSource object. If the first data source in the container is a virtual data source, this function returns the data source to which that first data source is connected. Otherwise, it returns that first data source.

Syntax

$.udb( *ds* ).realDataSource()

The required ds is a data source selector.

Example

$.udb('Virtual EMP').realDataSource().name();

Output:
'EMP'