Skip to main content
Version: 11.2

Cols.valueList()

note

This article is about the valueList() function of the Cols object.

Cols.valueList()

Gets the list of allowed values of the first column in scope.

Returns an array.

Syntax

$.udb( *ds* ).cols( [columns] ).valueList()

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 empCountries = $.udb('EMP').cols('COUNTRY').valueList();