getCacheStats method

  1. @protected
Map<String, dynamic> getCacheStats()
inherited

Implementation

@protected
Map<String, dynamic> getCacheStats() {
  return {
    'isCacheEnabled': _config.enableCaching,
    'isCacheValid': !_cache.needsUpdate(_calculateCteHashCode()),
    'hasCachedWithClause': _cache.cachedWithClause != null,
    'hasCachedBindings': _cache.cachedBindings != null,
    'currentHashCode': _calculateCteHashCode(),
  };
}