abstract class Jennifer::Adapter::Base

Direct Known Subclasses

Defined in:

jennifer/adapter/base.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Class Method Detail

def self.arg_replacement(arr) #

[View source]
def self.connection_string(*options) #

[View source]
def self.db_connection(&) #

[View source]
def self.extract_arguments(hash) #

[View source]
def self.question_marks(size = 1) #

[View source]
def self.result_to_array(rs) #

[View source]
def self.result_to_hash(rs) #

converts single ResultSet to hash


[View source]
def self.table_row_hash(rs) #

converts single ResultSet which contains several tables


[View source]

Instance Method Detail

def connection : DB::Database #

[View source]
def exec(*args, **options) #

[View source]
def exec(*args, **options, &) #

[View source]
def query(*args, **options) #

[View source]
def query(*args, **options, &) #

[View source]
def scalar(*args, **options) #

[View source]
def scalar(*args, **options, &) #

[View source]