Cols.name()
note
This article is about the name() function of the Cols object.
Cols.name()
Gets the name of the first column in scope.
Returns a string.
Syntax
$.udb( *ds* ).cols( [columns] ).name()
The required ds parameter is a data source selector.
The optional columns is a column selector. If omitted, all columns in scope are selected.
Example
let name = $.udb('EMP').cols('EMPNO').name();