Skip to main content
Version: 11.2

$.udb(ds).clearQuery()

note

This article is about the clearQuery() function of the DataSourceContainer object.

$.udb(ds).clearQuery()

Clears the query conditions of the data sources in the container.

Returns a UdbPromise object with the UdbDsc object as parameter.

Syntax

$.udb( *ds* ).clearQuery()
.then( ( *dsc* ) => {
//...
});

The required ds parameter is a data source selector.

The parameter dsc in the resulting UdbPromise clause is the same data source container on which the function was executed.

Example

$.udb('EMP').clearQuery();
EventApplies toOccurs when
showdataData source objectsNew data is available for display.