class Db

Defined in:

crystal-sync/db.cr:3
crystal-sync/db.cr:7

Constructors

Instance Method Summary

Constructor Detail

def self.new(url, &) #

[View source]

Instance Method Detail

def clear!(*args, **options) #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[View source]
def in_serializable_transaction(&) #

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

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

[View source]
def name #

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

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

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

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

[View source]
def query(sql, table : Db::Table, *args) : Db::Result #

[View source]
def query(sql, *args) : Db::Result #

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

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

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

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

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

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

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

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

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

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

[View source]
def table_name_with_schema(table_name) #

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

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

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

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

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

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

[View source]