The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Metabase::Backend::SQLite - Metabase backend implemented using SQLite

VERSION

version 1.001

SYNOPSIS

  require Metabase::Archive::SQLite;
  require Metabase::Index::SQLite;

  my $archive = Metabase::Archive::SQLite->new(
    filename => $sqlite_file,
  );

  my $index = Metabase::Index::SQLite->new(
    filename => $sqlite_file,
  );

DESCRIPTION

This distribution provides several backends for Metabase using SQLite.

They can be used separately or together (see Metabase::Librarian for details).

The Metabase::Backend::SQLite module is a Moose::Role that provides common attributes and private helpers and is not intended to be used directly.

Common attributes are described further below.

ATTRIBUTES

filename

Path to an SQLite database

synchronous

Controls how SQLite should set the synchronous pragma. Defaults to false, which is faster, but less safe.

AUTHORS

  • David Golden <dagolden@cpan.org>

  • Leon Brocard <acme@astray.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004