1DB(3kaya) Kaya module reference DB(3kaya)
23
4
NAME
6DB - Generic database API
7
DESCRIPTION
9A generic database connection and querying API. Separate database-spe‐
10cific modules are then used to set up connections to particular data‐
11bases. Kaya currently distributes:
1213
14
- MyDB(3kaya) (MySQL)
1516
17
- PostgresDB(3kaya) (Postgres)
1819
20
- SQLiteDB(3kaya) (SQLite)
21
DATA TYPES
23DB.DBHandle (3kaya)
24DB.DBIncResult (3kaya)
25DB.DBResult (3kaya)
26DB.DBStatement (3kaya)
27DB.DBValue (3kaya)
EXCEPTIONS
29 DB.InvalidTime (3kaya)
FUNCTIONS
31DB.DBh (3kaya)
32DB.bool (3kaya)
33DB.close (3kaya)
34DB.column (3kaya)
35DB.defaultExecPrepared (3kaya)
36DB.defaultGetRow (3kaya)
37DB.defaultIncDiscard (3kaya)
38DB.defaultIncExec (3kaya)
39DB.defaultIncExecPrepared (3kaya)
40DB.defaultPrepare (3kaya)
41DB.defaultPrimaryKey (3kaya)
42DB.escape (3kaya)
43DB.exec (3kaya)
44DB.execPrepared (3kaya)
45DB.execPrepared_1 (3kaya)
46DB.float (3kaya)
47DB.getHandle (3kaya)
48DB.getRow (3kaya)
49DB.incDiscard (3kaya)
50DB.incExec (3kaya)
51DB.incExecPrepared (3kaya)
52DB.int (3kaya)
53DB.isNull (3kaya)
54DB.maybeA (3kaya)
55DB.prepare (3kaya)
56DB.primaryKey (3kaya)
57DB.string (3kaya)
58DB.time (3kaya)
AUTHORS
60Kaya standard library by Edwin Brady, Chris Morris and others
61(kaya@kayalang.org). For further information see http://kayalang.org/
LICENSE
63The Kaya standard library is free software; you can redistribute it
64and/or modify it under the terms of the GNU Lesser General Public
65License (version 2.1 or any later version) as published by the Free
66Software Foundation.
6768
69
70
Kaya December 2010 DB(3kaya)