Skip to main content

refreshTable()

Last updated 10/05/2023

Example

This code is calling the refreshTable() with the Book and iUser table IDs on the Five object to re-evaluate the data in the live query.

Refresh the live query with new query parameters
function SetSearchISBN(five: Five, context: any, result: FiveError) : FiveError  {
five.setVariable('ISBN', five.field.ISBN);
five.setVariable('Title', `%${five.field.Title}%`);
five.setVariable('UserKey', five.currentUserKey());
five.refreshTable('Book');
five.refreshTable('iUser');
return five.success(result);
}