Enum
< Comparable
< Value
< Object
The CQL::Adapter
enum represents different database adapters such as SQLite, MySQL, and PostgreSQL.
Represents the SQLite adapter.
Represents the MySQL adapter.
Represents the PostgreSQL adapter.
Returns the SQL type for the given data type.
@param type [Type] The data type.
@return [String] The SQL type as a string.
Example:
Checks if the adapter is MySQL.
@return [Bool] true
if the adapter is MySQL, false
otherwise.
Checks if the adapter is PostgreSQL.
@return [Bool] true
if the adapter is PostgreSQL, false
otherwise.