Last updated 6 years ago
Checks if the session contains dirty objects that are awaiting persistence
This function returns boolean
Key
Type
Required
Default
Description
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(); }