class Focus::PG::QuerySet

Defined in:

generator/pg/query_set.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(db : DB::Connection | DB::Database) #

[View source]

Instance Method Detail

def db : Focus::DBConn #

[View source]
def get_enums_metadata(schema_name : String) : Array(Metadata::Enum) #

[View source]
def get_materialized_views(schema_name : String) : Array(Metadata::Table) #

[View source]
def get_schema(schema : String) : Metadata::Schema #

[View source]
def get_table_columns_metadata(db : Focus::DBConn, schema_name : String, table_name : String) : Array(Metadata::Column) #

[View source]
def get_tables_metadata(schema_name : String, table_type : TableType) : Array(Metadata::Table) #

table_type can be "table" or "view"


[View source]