getCacheMetrics method

  1. @override
PreparedStatementMetrics? getCacheMetrics()
override

Gets prepared statement metrics.

Returns metrics including cache hits, executions, etc. Returns null if metrics cannot be retrieved.

Implementation

@override
PreparedStatementMetrics? getCacheMetrics() => _native.getCacheMetrics();