$.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();
Related events
| Event | Applies to | Occurs when |
|---|---|---|
| showdata | Data source objects | New data is available for display. |