ColsMeta.isKey()


This article is about the isKey() function of the ColsMeta object.

ColsMeta.isKey()

Finds out if this column is a key column.

Returns a boolean.

Syntax

$.udbMeta( ds ).cols( cols ).isKey()

The optional ds is a data source selector. The optional cols is a column selector.

This function returns true if the column is a key column, false otherwise.

Example

var isKey = $.udbMeta('EMP').cols('EMPLOYEE_ID').isKey();

 


0 replies

Be the first to reply!

Reply