class Avram::Connection

Overview

Handles the connection to the DB.

Defined in:

avram/connection.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

blank_for_validates_required? : Bool blank_for_validates_required?

Constructor Detail

def self.new(connection_string : String, database_class : Avram::Database.class) #

[View source]

Instance Method Detail

def open : DB::Database #

[View source]
def try_connection! #

[View source]