Skip to main content
Version: 11.2

Rowset.isQueried()

note

This article is about the isQueried() function of the Rowset object.

Rowset.isQueried()

Detects whether the row set has already been queried for records. This can be used to determine, for example, whether the row set still needs to be queried.

Returns a boolean.

Syntax

$.udb( *ds* ).rowSet( *rowSet* ).isQueried()

The required ds parameter is a data source selector.

The required rowSet parameter is a rowset identifier.

Example

let rowSet = $.udb('EMP').rowSet('current');

if (!rowSet.isQueried()) {
$.udb('EMP').executeQuery();
}