Foswiki on GitHub is open for business! Next release meeting: Monday September 29, 1300Z

DbiContrib

API for other Contribs and plugins to use to abstract database accesses

Usage

This Contrib is used to abstract database access from other Contribs.

To configure the default database, goto the Extensions::DbiContrib section of configure (near the end). The {DbiContrib}{DBI_dsn} specifies the "DBI DSN" 'dbi' : {the database type} : {the database name} : {the host}. {DbiContrib}{DBI_username} and {DbiContrib}{DBI_password} need to be a database user that has permission to log in from the host Foswiki is running on.

Other Contribs can specify different DBI DSN's and options.

Installation Instructions

%$INSTALL_INSTRUCTIONS%

Contrib Info

Contrib Author(s): Copyright 2008-2009, Sven Dowideit, SvenDowideit@fosiki.com
Copyright:
License: GPL (Gnu General Public License v3)
Contrib Version: 1.0.1
Change History:
1.0.1 (June 2010) added dbDelete as an alias for dbInsert
March 2009: change to be multi-database
Dependencies:
NameVersionDescription
DBI>=1Required.
Contrib Home: http://foswiki.org/Extensions/DbiContrib

Related Topics: System.Contribs, DeveloperDocumentationCategory, AdminDocumentationCategory, %SITEPREFERENCES%

Topic attachments
I Attachment Action Size Date Who Comment
DbiContrib.md5md5 DbiContrib.md5 manage 0.1 K 25 Jun 2010 - 09:39 OliverKrueger version 1.0.1
DbiContrib.sha1sha1 DbiContrib.sha1 manage 0.2 K 25 Jun 2010 - 09:40 OliverKrueger version 1.0.1
DbiContrib.tgztgz DbiContrib.tgz manage 4.8 K 25 Jun 2010 - 09:39 OliverKrueger version 1.0.1
DbiContrib.zipzip DbiContrib.zip manage 6.6 K 25 Jun 2010 - 09:39 OliverKrueger version 1.0.1
DbiContrib_installerEXT DbiContrib_installer manage 4.1 K 25 Jun 2010 - 09:41 OliverKrueger version 1.0.1
Edit | Attach | Print version | History: r5 | r4 < r3 < r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r3 - 25 Jun 2010, OliverKrueger
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons License