Kaya 0.4.4 reference for DB::column

List of functions and data types in DB

String column(DBResult res, Int col)

Usage

Get a column name from a result.

res = exec(conn,"SELECT id,name FROM People");
col = column(res,1); // "name"

Related

kaya@kayalang.org | Last modified 29 November 2011 | Supported by Durham CompSoc | Powered by Kaya