Module: LlmCostTracker::Doctor::Probe

Defined in:
lib/llm_cost_tracker/doctor/probe.rb

Class Method Summary collapse

Class Method Details

.table_exists?(name) ⇒ Boolean

Returns:

  • (Boolean)


10
11
12
13
14
# File 'lib/llm_cost_tracker/doctor/probe.rb', line 10

def table_exists?(name)
  LlmCostTracker::Call.connection.data_source_exists?(name)
rescue StandardError
  false
end