1DB.DBHandle(3kaya) Kaya module reference DB.DBHandle(3kaya)
2
3
4
6 DB::DBHandle - A database handle
7
9 DB::DBHandle< a >
10
11
12 = DBHandle()
13
15 A database connection handle. The parameter is the specific handle type
16 for a database, for example PGConnection for Postgres. The database-
17 specific library will supply a function to create the handle.
18
19 In Kaya 0.4 and earlier this data type was not declared abstract as the
20 database connection libraries needed access to the constructors - users
21 should not have modified the data.
22
23 In Kaya 0.5 and later, this is now a abstract type. Database libraries
24 can use the DB.DBh (3kaya) constructor function to create handles, and
25 should not need to modify the data.
26
28 Kaya standard library by Edwin Brady, Chris Morris and others
29 (kaya@kayalang.org). For further information see http://kayalang.org/
30
32 The Kaya standard library is free software; you can redistribute it
33 and/or modify it under the terms of the GNU Lesser General Public
34 License (version 2.1 or any later version) as published by the Free
35 Software Foundation.
36
38 DB.DBh (3kaya)
39 MyDB.connect (3kaya)
40 PostgresDB.connect (3kaya)
41 SQLiteDB.connect (3kaya)
42
43
44
45Kaya December 2010 DB.DBHandle(3kaya)