$.udbMeta(ds).cols()
note
This article is about the cols() function of the DataSourceMetaContainer object.
$.udbMeta(ds).cols()
Gets a list of columns that have the specified name(s). If no names are specified, all columns are returned.
Returns a collection of columns.
Syntax
$.udbMeta( *ds* ).cols( *columns* )
The required ds is a data source selector.
The optional columns is a string or an array of strings identifying one or more columns. If columns is not specified, all columns in scope are returned.
Examples
$.udbMeta('EMP').cols();
$.udbMeta('EMP').cols('EMPNO');
$.udbMeta('EMP').cols(['EMPNO','NAME']);