Skip to content

Latest commit

 

History

History
19 lines (12 loc) · 591 Bytes

File metadata and controls

19 lines (12 loc) · 591 Bytes

clear

Clear the session removes all the entities that are loaded or created in the session. This clears the first level cache and removes the objects that are not yet saved to the database.

Returns

  • This function returns the base service reference (this)

Arguments

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

Examples

ormService.clear();