Table.fetchTable

Loads data into the table from the external resource specified as the backing resource, and sets the first row as the current row (see #getCurrentRow()). All internal row numbers are reset.

The noUpdate flag provides an optional optimization. When this flag is set to true, the amount of memory required to support the table content data is reduced by about 50%; however, it is not possible to use the #updateTable() method. It is recommended that this option should be used for all read only tables.

Further documentation.

Javascript example:

 var orders = tables.ORDERS;
 var rows = orders.fetchTable(true);
 while (rows.next())
 {
   orders.ORDER_VAT.value = orders.ORDER_VALUE.value * vatRate;
 }
 

returns TableRowIterator

Parameters

boolean  noUpdate,