Module: DatabaseType

Defined in:
lib/quill-sql.rb

Constant Summary collapse

POSTGRESQL =
'postgresql'.freeze
CLICKHOUSE =
'clickhouse'.freeze
DATABRICKS =
'databricks'.freeze

Class Method Summary collapse

Class Method Details

.valid?(type) ⇒ Boolean



20
21
22
# File 'lib/quill-sql.rb', line 20

def self.valid?(type)
  constants.map { |c| const_get(c) }.include?(type)
end