Exception: SqlGenius::Core::UnsupportedDialect

Inherits:
Error
  • Object
show all
Defined in:
lib/sql_genius/core.rb

Overview

Raised by AI services / analyses that don’t support the connected database’s dialect (e.g. InnoDB-only interpreters on PostgreSQL). Callers surface the message verbatim to the UI.

Class Method Summary collapse

Class Method Details

.for_postgresql(feature_name) ⇒ Object



16
17
18
# File 'lib/sql_genius/core.rb', line 16

def for_postgresql(feature_name)
  new("#{feature_name} is MySQL/MariaDB-only and is not available on PostgreSQL.")
end