NAME

Bif::DB::RW - read-write helper methods for a bif database

VERSION

0.1.0 (yyyy-mm-dd)

SYNOPSIS

use strict;
use warnings;
use Bif::DB::RW;

# Bif inherits from DBIx::ThinSQL, which inherits from DBI.
my $db = Bif::DB::RW->connect( $dsn );

# Read and write operations on a bif database:
my $id = $db->path2project_id( $path );

DESCRIPTION

Bif::DB::RW is a DBI derivative that provides various read-write methods for retrieving information from a bif repository. For a read-only equivalent see Bif::DB. The read-only and read-write parts are separated for performance reasons.

DBH METHODS

nextval( $name ) -> Int

Advance the sequence $name to its next value and return that value.

currval( $name ) -> Int

Return the current value of the sequence <$name>.

SEE ALSO

Bif::DB

AUTHOR

Mark Lawrence <nomad@null.net>

COPYRIGHT AND LICENSE

Copyright 2013 Mark Lawrence <nomad@null.net>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.