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


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


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
Contrib Home: http://foswiki.org/Extensions/DbiContrib

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

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