刘刊 > pantheon-0.58 > Hermes::DBI::Cache

Download:
pantheon-0.58.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

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( 'node', 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.

syntax highlighting: