module Prostore::Adapter::Postgres::Introspect

Overview

PostgreSQL introspection via information_schema and pg_catalog (ADR-0010 drift detection backbone).

Extended Modules

Defined in:

prostore/adapter/postgres/introspect.cr

Instance Method Summary

Instance Method Detail

def columns(executor : Prostore::Adapter::Base::Executor, table : String) : Array(LiveColumn) #

[View source]
def foreign_keys(executor : Prostore::Adapter::Base::Executor, table : String) : Array(LiveForeignKey) #

[View source]
def indexes(executor : Prostore::Adapter::Base::Executor, table : String) : Array(LiveIndex) #

[View source]
def table(executor : Prostore::Adapter::Base::Executor, name : String) : LiveTable #

[View source]
def table_names(executor : Prostore::Adapter::Base::Executor) : Array(String) #

[View source]