class Data::Pg::Client

Defined in:

data/pg/client.cr

Constructors

Instance Method Summary

Instance methods inherited from class Object

to_toml : String to_toml

Constructor Detail

def self.new(config : Nil | Data::Config) #

[View source]

Instance Method Detail

def config : Data::Config #

def config=(v : Data::Config) : Data::Config #

def config=(v : Nil) #

nil assignments are always ignored


def config? : Data::Config | Nil #

def dryrun(*args, **options) #

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

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

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

[View source]
def metas(ignore_dryrun : Bool = false) : Hash(String, Meta) #

ignore_dryrun: ignore dryrun for the case of "copy -n"


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

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

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

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

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

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

[View source]
def psql(arg : String, ignore_dryrun : Bool = false) #

[View source]
def workdir : String #

def workdir=(v : String) : String #

def workdir=(v : Nil) #

nil assignments are always ignored


def workdir? : String | Nil #