++ed by:
PINGAN MISHIN RPAVLOV BEROV

4 PAUSE users
3 non-PAUSE users.

Scott Smith

NAME

UR::DataSource::Meta - Data source for the MetaDB

SYNOPSIS

  my $meta_table = UR::DataSource::RDBMS::Table->get(
                       table_name => 'DD_TABLE'
                       namespace => 'UR',
                   );

  my @myapp_tables = UR::DataSource::RDBMS::Table->get(
                       namespace => 'MyApp',
                   );

DESCRIPTION

UR::DataSource::Meta is a datasource that encompases all the MetaDBs in the system. All the MetaDB object types (UR::DataSource::RDBMS::Table, UR::DataSource::RDBMS::TableColumn, etc) have UR::DataSource::Meta as their data source.

Internally, the Context looks at the get() parameters for these MetaDB classes, and switches to other Meta data sources to fulfil the request. Table information for the MyApp namespace is stored in the MyApp::DataSource::Meta data source. Information about the MetaDB schema is stored in the UR::DataSource::Meta data source.

The MetaDB is a SQLite database stored in the same directory as the Meta.pm file implementing the data source.

INHERITANCE

UR::DataSource::Meta is a subclass of UR::DataSource::SQLite

get() required parameters

namespace or data_source are required parameters when calling get() on any MetaDB-sourced object types.