UR::DataSource::Meta - Data source for the MetaDB
my $meta_table = UR::DataSource::RDBMS::Table->get( table_name => 'DD_TABLE' namespace => 'UR', ); my @myapp_tables = UR::DataSource::RDBMS::Table->get( namespace => 'MyApp', );
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.
UR::DataSource::Meta is a subclass of UR::DataSource::SQLite
namespace or data_source are required parameters when calling get() on any MetaDB-sourced object types.
namespace
data_source
get()
To install UR, copy and paste the appropriate command in to your terminal.
cpanm
cpanm UR
CPAN shell
perl -MCPAN -e shell install UR
For more information on module installation, please visit the detailed CPAN module installation guide.