1DB(3kaya)                    Kaya module reference                   DB(3kaya)
2
3
4

NAME

6       DB - Generic database API
7

DESCRIPTION

9       A  generic database connection and querying API. Separate database-spe‐
10       cific modules are then used to set up connections to  particular  data‐
11       bases. Kaya currently distributes:
12
13
14     - MyDB(3kaya) (MySQL)
15
16
17     - PostgresDB(3kaya) (Postgres)
18
19
20     - SQLiteDB(3kaya) (SQLite)
21

DATA TYPES

23       DB.DBHandle (3kaya)
24       DB.DBIncResult (3kaya)
25       DB.DBResult (3kaya)
26       DB.DBStatement (3kaya)
27       DB.DBValue (3kaya)

EXCEPTIONS

29       DB.InvalidTime (3kaya)

FUNCTIONS

31       DB.DBh (3kaya)
32       DB.bool (3kaya)
33       DB.close (3kaya)
34       DB.column (3kaya)
35       DB.defaultExecPrepared (3kaya)
36       DB.defaultGetRow (3kaya)
37       DB.defaultIncDiscard (3kaya)
38       DB.defaultIncExec (3kaya)
39       DB.defaultIncExecPrepared (3kaya)
40       DB.defaultPrepare (3kaya)
41       DB.defaultPrimaryKey (3kaya)
42       DB.escape (3kaya)
43       DB.exec (3kaya)
44       DB.execPrepared (3kaya)
45       DB.execPrepared_1 (3kaya)
46       DB.float (3kaya)
47       DB.getHandle (3kaya)
48       DB.getRow (3kaya)
49       DB.incDiscard (3kaya)
50       DB.incExec (3kaya)
51       DB.incExecPrepared (3kaya)
52       DB.int (3kaya)
53       DB.isNull (3kaya)
54       DB.maybeA (3kaya)
55       DB.prepare (3kaya)
56       DB.primaryKey (3kaya)
57       DB.string (3kaya)
58       DB.time (3kaya)

AUTHORS

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

LICENSE

63       The Kaya standard library is free software;  you  can  redistribute  it
64       and/or  modify  it  under  the  terms  of the GNU Lesser General Public
65       License (version 2.1 or any later version) as  published  by  the  Free
66       Software Foundation.
67
68
69
70Kaya                             December 2010                       DB(3kaya)
Impressum