Returns an array of all the primary key constraints of a specific table and column.
Marten::DB::Management::Introspector::Base
Base implementation of a database introspector.
The database introspector is used in the context of DB management in order to fetch operation regarding existing tables such as table names, index / constraint names, etc.
Constructors
new(connection : Connection::Base)
SourceInstance methods
Returns the details of the columns of a specific table.
Returns an array of all the foreign key constraints of a specific table and column.
Returns an array of all the index names for a specific table and column.
model_table_names
Returns all the table names associated with models of the installed applications only.
Source