isSessionDirty
Last updated
Was this helpful?
Checks if the session contains dirty objects that are awaiting persistence
This function returns boolean
datasource
string
false
---
The default or specific datasource to use
// Check if by this point we have a dirty session, then flush it
if( ormService.isSessionDirty() ){
ORMFlush();
}Last updated
Was this helpful?
Was this helpful?