isSessionDirty

Checks if the session contains dirty objects that are awaiting persistence

Returns

  • This function returns boolean

Arguments

Examples

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

Last updated