.cols()

Previous Next

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

Returns a collection of columns.

Syntax

.cols( columns )

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

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

 

 

See Also

.keyCols()

.each()