class

Focus::PG::QuerySet

Inherits Focus::QuerySet / Reference / Object

Constructors

new(db : DB::Connection | DB::Database)
Source

Instance methods

get_enums_metadata(schema_name : String) : Array(Metadata::Enum)
Source
get_materialized_views(schema_name : String) : Array(Metadata::Table)
Source
get_schema(schema : String) : Metadata::Schema
Source
get_table_columns_metadata(db : Focus::DBConn, schema_name : String, table_name : String) : Array(Metadata::Column)
Source
get_tables_metadata(schema_name : String, table_type : TableType) : Array(Metadata::Table)

table_type can be "table" or "view"

Source