Metabase::Archive::SQL - Metabase archive backend role for common SQL actions
version 1.000
package Metabase::Archive::SQLite; use Moose; with 'Metabase::Archive::SQL'; # implement required fields ...; 1;
This is a role that consumes the Metabase::Backend::SQL role and implements the Metabase::Archive role generically for an SQL backend. RDBMS vendor specific methods must be implemented by a Moose class consuming this role.
The following methods must be implemented:
_build_dsn # a DSN string for DBI _build_db_user # a username for DBI _build_db_pass # a password for DBI _build_db_type # a SQL::Translator type for the DB vendor _build_typemap # hashref of metadata types to schema data types _build__blob_type # data type for fact blob (compressed JSON)
David Golden <dagolden@cpan.org>
Leon Brocard <acme@astray.org>
This software is Copyright (c) 2011 by David Golden.
This is free software, licensed under:
The Apache License, Version 2.0, January 2004
To install Metabase::Backend::SQL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Metabase::Backend::SQL
CPAN shell
perl -MCPAN -e shell install Metabase::Backend::SQL
For more information on module installation, please visit the detailed CPAN module installation guide.