Cols.alias()
note
This article is about the alias() function of the Cols object.
Cols.alias()
Gets the alias of the first column in scope. These are the generated ID's that start with a '$', e.g. '$26'.
Returns a string.
Syntax
$.udb( *ds* ).cols( [columns] ).alias()
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 alias = $.udb('EMP').cols('EMPNO').alias();
Example result:
'$26'