Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_read_only_optimizer_creation
Function · 0.45
test_query_execution
Function · 0.45
Calls
2
read
Method · 0.80
clone
Method · 0.45
Tested by
2
test_read_only_optimizer_creation
Function · 0.36
test_query_execution
Function · 0.36