1DB.column(3kaya) Kaya module reference DB.column(3kaya)
2
3
4
6 DB::column - Get a column name
7
9 String column( DBResult res, Int col )
10
12 Get a column name from a result.
13
14
15 res = exec(conn,"SELECT id,name FROM People");
16 col = column(res,1); // "name"
17
19 Kaya standard library by Edwin Brady, Chris Morris and others
20 (kaya@kayalang.org). For further information see http://kayalang.org/
21
23 The Kaya standard library is free software; you can redistribute it
24 and/or modify it under the terms of the GNU Lesser General Public
25 License (version 2.1 or any later version) as published by the Free
26 Software Foundation.
27
29 DB.DBResult (3kaya)
30
31
32
33Kaya December 2010 DB.column(3kaya)