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

NAME

Tree::Persist::DB - the base class for DB plugins for Tree persistence

DESCRIPTION

This class is the base class for the Tree::Persist::DB::* hierarchy, which provides DB plugins for Tree persistence through Tree::Persist.

PARAMETERS

In addition to any parameters required by its parent Tree::Persist::Base, the following parameters are required by connect():

  • type (required)

    For any DB::* plugin to be used, the type must be 'DB' (case-sensitive).

  • dbh (required)

    This is the $dbh that is already connected to the right database and schema with the appropriate user. This is required.

  • table (required)

    This is the table name that contains the tree. This is required.

TODO

  • Currently, the dbh and table options aren't checked for existence or validity.

BUGS/TODO/CODE COVERAGE

Please see the relevant sections of Forest.

AUTHORS

Rob Kinyon <rob.kinyon@iinteractive.com>

Stevan Little <stevan.little@iinteractive.com>

Thanks to Infinity Interactive for generously donating our time.

COPYRIGHT AND LICENSE

Copyright 2004, 2005 by Infinity Interactive, Inc.

http://www.iinteractive.com

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.