Last updated 2 years ago
Refresh the state of an entity or array of entities from the database
This function returns back the BaseORMService (this)
this
var user = storage.getVar("UserSession"); ormService.refresh( user ); var users = [user1,user2,user3]; ormService.refresh( users );
Key
Type
Required
Default
Description
entity
any
Yes
---