DB.DBHandle.3kaya

Langue: en

Autres versions - même langue

Version: March 2009 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

DB::DBHandle - A database handle

SYNOPSIS

DB::DBHandle< a >
= DBHandle()

DESCRIPTION

A database connection handle. The parameter is the specific handle type for a database, for example PGConnection for Postgres. The database-specific library will supply a function to create the handle.

In Kaya 0.4 and earlier this data type was not declared abstract as the database connection libraries needed access to the constructors - users should not have modified the data.

In Kaya 0.5 and later, this is now a abstract type. Database libraries can use the DB.DBh(3kaya) constructor function to create handles, and should not need to modify the data.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

DB.DBh(3kaya)

MyDB.connect(3kaya)

PostgresDB.connect(3kaya)

SQLiteDB.connect(3kaya)