Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 734 Bytes

File metadata and controls

28 lines (20 loc) · 734 Bytes

getSessionStatistics

Information about the first-level (session) cache for the current session

Returns

  • This function returns struct

Arguments

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

Examples

// Let's get the session statistics
stats = ormService.getSessionStatistics;

// Lets output it
<cfoutput>
collection count: #stats.collectionCount# <br/>
collection keys: #stats.collectionKeys# <br/>
entity count: #stats.entityCount# <br/>
entity keys: #stats.entityKeys#
</cfoutput>