BiService.beginBatch

Syntax

beginBatch(bIgnoreError: Boolean);

Parameters

bIgnoreError. Indicates whether batch queries are processed independently. Available values:

Description

The beginBatch method enables batch mode of sending queries.

Comments

Batch query sending mode is disabled by the BiService.endBatch method.

Example

To execute the example, the HTML page must contain the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component).

Enable batch query sending mode:

// Enable batch query sending mode
eaxMdService.beginBatch();

Then execute some operations that require server response, for example, expand a node in the selected dimension.

The query for getting node children is added to the query execution queue.

Disable batch query sending mode:

// Disable batch query sending mode
eaxMdService.endBatch();

After disabling batch sending query mode the whole query queue is initialized, the node children are displayed.

See also:

BiService