Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 490 Bytes

File metadata and controls

23 lines (15 loc) · 490 Bytes

refresh

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

Returns

  • This function returns back the BaseORMService (this)

Arguments

Key Type Required Default Description
entity any Yes ---

Examples

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

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