MCPcopy Create free account
hub / github.com/explorerhq/sql-explorer / clear_schema_cache

Function clear_schema_cache

explorer/schema.py:70–75  ·  view source on GitHub ↗
(db_connection)

Source from the content-addressed store, hash-verified

68
69
70def clear_schema_cache(db_connection):
71 key = connection_schema_cache_key(db_connection.id)
72 cache.delete(key)
73
74 key = connection_schema_json_cache_key(db_connection.id)
75 cache.delete(key)
76
77
78def build_schema_info(db_connection):

Callers 2

postMethod · 0.90
getMethod · 0.90

Calls 3

deleteMethod · 0.80

Tested by

no test coverage detected