Focus::PG::QuerySet
Inherits Focus::QuerySet / Reference / Object
Constructors
new(db : DB::Connection | DB::Database)
SourceInstance methods
db
Sourceget_enums_metadata(schema_name : String) : Array(Metadata::Enum)
Sourceget_materialized_views(schema_name : String) : Array(Metadata::Table)
Sourceget_schema(schema : String) : Metadata::Schema
Sourceget_table_columns_metadata(db : Focus::DBConn, schema_name : String, table_name : String) : Array(Metadata::Column)
Sourceget_tables_metadata(schema_name : String, table_type : TableType) : Array(Metadata::Table)
table_type can be "table" or "view"