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

Method has_decimal_columns

src/cache/schema.rs:104–106  ·  view source on GitHub ↗

Check if a table has decimal columns (optimized with bloom filter)

(&self, table_name: &str)

Source from the content-addressed store, hash-verified

102
103 /// Check if a table has decimal columns (optimized with bloom filter)
104 pub fn has_decimal_columns(&self, table_name: &str) -> bool {
105 self.decimal_tables.read().unwrap().contains(table_name)
106 }
107
108 /// Preload all table schemas from the database
109 pub fn preload_all_schemas(&self, conn: &Connection) -> Result<(), rusqlite::Error> {

Callers 4

process_complex_queryFunction · 0.80
needs_processingMethod · 0.80
processMethod · 0.80

Calls 1

readMethod · 0.80

Tested by

no test coverage detected