MCPcopy Create free account
hub / github.com/erans/pgsqlite / get_stats

Method get_stats

src/optimization/read_only_optimizer.rs:486–489  ·  view source on GitHub ↗

Get current statistics

(&self)

Source from the content-addressed store, hash-verified

484
485 /// Get current statistics
486 pub fn get_stats(&self) -> ReadOnlyStats {
487 let stats = self.stats.read().unwrap();
488 stats.clone()
489 }
490
491 /// Clear all cached plans
492 pub fn clear_cache(&self) {

Callers 2

test_query_executionFunction · 0.45

Calls 2

readMethod · 0.80
cloneMethod · 0.45

Tested by 2

test_query_executionFunction · 0.36