The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Hermes::DBI::Cache - DB interface to Hermes cache data

SYNOPSIS

use Hermes::DBI::Cache;

my $db = Hermes::DBI::Cache->new( '/database/file' );

$db->select( name => [ 1, 'foo' ] );

METHODS

See Vulcan::SQLiteDB.

DATABASE

A SQLITE db has a hermes table of four columns:

name : cluster name
attr : table name
node : node name
info : info associated with node

insert( @record )

Insert @record into $table.

select( $column, %query )

Select $column from $table.

delete( %query )

Delete records from $table.