class Granite::Connections

Defined in:

granite/connections.cr

Class Method Summary

Class Method Detail

def self.<<(adapter : Granite::Adapter::Base) : Nil #

Registers the given adapter. Raises if an adapter with the same name has already been registered.


[View source]
def self.[](name : String) : Granite::Adapter::Base | Nil #

Returns a registered connection with the given name, otherwise nil.


[View source]
def self.registered_connections #

[View source]