Modules::DBDriver - An abstract database layer


NAME

Modules::DBDriver - An abstract database layer


Overview

Database interface.


Description

Links to the dbdrivers in /DataDrivers. Needs to be modified by hand or by setup.pl (db-type, db-name, pswd. etc. ). Can be called and used Y2 independently with DataDrivers-folder. Provides an independent database access layer (DAL). Provides basic caching of queries.


REQUIREMENTS

Settings.pm & Error.pm

DataDrivers These are the database drivers


USAGE

Code Example:

my $DB = YaBB3::DBDriver->new; $DB->db_connect; my $query=$DB->select(``y3_users'', {``login'', ``password''}, ``1'', ``uid LIKE '3'''); my @a=$query->fetchrow_array; foreach (@a) { if ($_) {print $_.``\n'';} }


AUTHOR

Matt Siegman Bjoern Berg Torsten Mrotz (tmrotz@yabbforum.com) Alexander Boyadjiev

Copyright (C) 2002-2005, YaBB 3 Development Team. All Rights Reserved. You may distribute this module under the terms of YaBB 3.

 Modules::DBDriver - An abstract database layer