ur define datasource sqlite - Add a SQLite data source to the current namespace.
This document describes ur define datasource sqlite version 0.29.
ur define datasource sqlite [--nosingleton] [--dsid=?] [--server=?] [DSNAME]
cd Acme ur define datasource sqlite --dsname MyDB1 # writes Acme::DataSource::MyDB1 to work with Acme/DataSource/MyDB1.sqlite3 ur define datasource sqlite --dsname MyDB2 --server /var/lib/acmeapp/mydb2.sqlite3 # writes Acme::DataSource::MyDB2 to work with the specified sqlite file
Created data source should not inherit from UR::Singleton (defalt is that it will)
Default value 'false' (--nonosingleton) if not specified
Make nosingleton 'false'
The full class name to give this data source.
"server" attribute for this data source, such as a database name
The distinctive part of the class name for this data source. Will be prefixed with the namespace then '::DataSource::'.
Add a SQLite data source to the current namespace.
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.