Skip to main content
Version: 10.1

ColsMeta.isGroupBy()

note

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

ColsMeta.isGroupBy()

Finds out if this column is part of a GROUP BY clause.

Returns a boolean.

Syntax

$.udbMeta( *ds* ).cols( *cols* ).isGroupBy()

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

This function returns true if the column is part of a GROUP BY clause, false otherwise.

Example

var isGroupBy = $.udbMeta('EMP').cols('DEPT_ID').isGroupBy();