.keyCols()

Previous Next

Gets a list of key columns that have the specified name(s). If no names are specified, all key columns are returned.

Returns a collection of columns.

Syntax

.keyCols( columns )

The optional columns is a string or an array of strings identifying one or more key columns. If columns is not specified, all key columns in scope are returned.

 

Example

$.udbMeta('EMP').keyCols();
$.udbMeta('EMP').keyCols('EMPNO');
$.udbMeta('EMP').keyCols(['EMPNO','NAME']);

 

 

See Also

.cols()