class Db::Driver::Postgres

Defined in:

crystal-sync/db/driver/postgres.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(db : Db, schema : String | Nil) #

[View source]

Instance Method Detail

def clear! #

[View source]
def default_schema #

[View source]
def defer_fk_constraints(&) #

[View source]
def dump_schema : IO::Memory #

[View source]
def dump_sequences : IO::Memory #

[View source]
def escape_table_name(name : String) : String #

[View source]
def get_array_fields(table : Db::Table) : Hash(String, Symbol) #

[View source]
def load_schema(schema_buffer : IO) #

[View source]
def offset_sql(offset : Int, limit : Int) : String #

[View source]
def placeholder_type #

[View source]
def schema : String #

[View source]
def snapshot : String | Nil #

[View source]
def supports_sequences? #

[View source]
def table_as_csv(table_name : String, &) #

[View source]
def table_from_csv(table_name : String) : Tuple(IO, Process) #

[View source]
def tables #

[View source]
def transaction(&) #

[View source]