$.udb(ds).cols()
note
This article is about the cols() function of the DataSourceContainer object.
$.udb(ds).cols()
Gets a list of columns that have the specified name(s). If no names are specified, all columns are returned.
Returns a UdbCols object.
Syntax
$.udb( *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
//all columns
$.udb('EMP').cols();
$.udb('EMP').cols('EMPNO');
$.udb('EMP').cols(['EMPNO','NAME']);