MetaSrv.endBatch

Syntax

endBatch(fireElemsCallback: Boolean, callback: Function, errCallback: Function);

Parameters

fireElemsCallback. Indicates if a handler is called for each query. If the parameter is set tot True, a handler is called for each query, otherwise the same handler is called for all queries

callback. Batch query end handler

errCallback. Batch query error end handler.

Description

The endBatch method disables batch mode of sending queries and sends a formed batch.

Comments

Batch mode of sending queries is enabled by the beginBatch method.

Example

The example of use is identical to the example of use of the ExpressionService.endBatch method.

See also:

MetaSrv