DBDish
DESCRIPTION The DBDish module loads the generic code needed by every DBDish driver of the Perl6 DBIish Database API
It is the base namespace of all drivers related packages, future drivers extensions and documentation guidelines for DBDish driver implementors.
It is also an experiment in distributing Pod fragments in and around the code.
Roles needed by a DBDish's driver
A proper DBDish driver Foo needs to implement at least three classes:
- class DBDish::Foo does DBDish::Driver - class DBDish::Foo::Connection does DBDish::Connection - DBDish::Foo::StatementHandle does DBDish::StatementHandle
Those roles are documented below.
DBDish::Driver
This role define the minimum interface that a driver should provide to be properly loaded by DBIish.
The minimal declaration of a driver Foo typically start like:
use v6;
need DBDish; # Load all roles
unit class DBDish::Foo does DBDish::Driver;
...
- See DBDish::ErrorHandling
- See DBDish::Connection
- See DBDish::StatementHandle
DBDish::TypeConverter
This role defines the API for dynamic handling of the types of a DB system
SEE ALSO
The Perl 5 DBI::DBD.