Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 570 Bytes

File metadata and controls

22 lines (15 loc) · 570 Bytes

isSessionDirty

Checks if the session contains dirty objects that are awaiting persistence

Returns

  • This function returns boolean

Arguments

Key Type Required Default Description
datasource string false --- The default or specific datasource to use

Examples

// Check if by this point we have a dirty session, then flush it
if( ormService.isSessionDirty() ){
  ORMFlush();
}