enum Cql::Adapter

Enum < Comparable < Value < Object

Represents a database adapter module.

Constants

Sqlite

0

MySql

1

Postgres

2

Instance Methods

def my_sql?

def postgres?

def sql_type(type) : String

Returns the SQL type for the given type. @param type [Type] the type @return [String] the SQL type Example Getting the SQL type

Cql::Adapter::Sqlite.sql_type(Int32) # => "INTEGER"

def sqlite?