NAME
Hailo::Storage - A base class for Hailo storage backends
METHODS
The following methods must to be implemented by subclasses:
_build_dbd
Should return the name of the database driver (e.g. 'SQLite') which will be passed to DBI.
_build_dbd_options
Subclasses can override this method to add options of their own. E.g:
override _build_dbd_options => sub {
return {
%{ super() },
sqlite_unicode => 1,
};
};
_exists_db
Should return a true value if the database has already been created.
AUTHOR
Ævar Arnfjörð Bjarmason <avar@cpan.org>
Hinrik Örn Sigurðsson, hinrik.sig@gmail.com
LICENSE AND COPYRIGHT
Copyright 2010 Ævar Arnfjörð Bjarmason and Hinrik Örn Sigurðsson
This program is free software, you can redistribute it and/or modify it under the same terms as Perl itself.