module Memo::Dialect

Defined in:

memo/dialect.cr
memo/dialect/base.cr
memo/dialect/postgres.cr
memo/dialect/sqlite.cr

Class Method Summary

Class Method Detail

def self.for(connection_string : String) : Base #

Auto-detect dialect from connection string


[View source]
def self.register_pg(&factory : -> Base) #

Register the PostgreSQL dialect factory (called by memo/pg.cr)


[View source]