module Avram

Included Modules

Defined in:

avram.cr
avram/chrono_units.cr
avram/database/column_info.cr
avram/database/database_info.cr
avram/database/table_info.cr
avram/errors.cr
avram/nothing.cr
avram/order_by_clause.cr
avram/order_by_clause/order_by.cr
avram/order_by_clause/order_by_random.cr
avram/version.cr
lucky/ext/avram/errors.cr

Constant Summary

FailedQueryLog = Log.for("failed_query")
HABITAT_SETTINGS = [{decl: lazy_load_enabled : Bool = true, example: nil, validation: nil}, {decl: database_to_migrate : Avram::Database.class, example: "AppDatabase", validation: nil}, {decl: time_formats : Array(String) = [] of String, example: nil, validation: nil}, {decl: i18n_backend : Avram::I18nBackend = Avram::I18n.new, example: "Avram::I18n.new", validation: nil}, {decl: query_cache_enabled : Bool = false, example: nil, validation: nil}] of Nil
Log = ::Log.for(Avram)
QueryLog = Log.for("query")
SaveFailedLog = Log.for("save_failed")
VERSION = "1.2.0"

Class Method Summary

Instance Method Summary

Class Method Detail

def self.configure(&) #

[View source]
def self.initialize_logging #

This subscribes to several Pulsar events. These events are triggered during query and operation events


[View source]
def self.settings #

[View source]

Instance Method Detail

def settings #

[View source]