$.udb(ds).embeddedKeyCols()
note
This article is about the embeddedKeyCols() function of the DataSourceContainer object.
$.udb(ds).embeddedKeyCols()
Gets a list of key columns that are used in the relation of an embedded data source.
Returns a collection of columns.
Syntax
$.udb( *ds* ).embeddedKeyCols( *embedded-data-source-name* )
The optional ds is a data source selector.
The optional embedded-data-source-name is a string that identifies a data source embedded within the data source. For embedded data sources at a deeper level, use one or more forward slash symbols (‘/’) to descend to the deeper level. If embedded-data-source-name is not specified, all embedded key columns in scope are returned.
Examples
$.udbMeta('EMP').embeddedKeyCols();
$.udbMeta('EMP').embeddedKeyCols('Embedded DEPARTMENT');
$.udbMeta('EMP').embeddedKeyCols('Embedded DEPARTMENT/Embedded COMPANY');