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

NAME

TreePath::Backend::DBIx - Backend 'DBIx' for TreePath

VERSION

version 0.12

CONFIGURATION

         $tp = TreePath->new(  conf  => 't/conf/treefromdbix.yml'  );

         # t/conf/treefromdbix.yml
         Model::TPath:
           schema_class: Schema::TPath
           connect_info:
             dsn: 'dbi:SQLite:dbname=:memory:'

         TreePath:
           debug: 0
           backend:
             name: DBIx
             args:
               model: Model::TPath
               source_name: Page
               search_field: name
               parent_field: parent_id

REQUIRED SCHEMA

See t/lib/Schema/TPath.pm

AUTHOR

Daniel Brosseau, <dab at catapulse.org>

LICENSE AND COPYRIGHT

Copyright 2014 Daniel Brosseau.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.