refresh

Refresh the state of an entity or array of entities from the database

Returns

  • This function returns back the BaseORMService (this)

Arguments

Examples

var user = storage.getVar("UserSession");
ormService.refresh( user );

var users = [user1,user2,user3];
ormService.refresh( users );

Last updated