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 );
Last updated
Was this helpful?