Kaya 0.5.2 reference for SQLiteDB::connect

List of functions and data types in SQLiteDB

SQLiteDB connect(String fname)

Arguments

Usage

Use this function to open the database file (creating it if it does not exist). You can then use the functions from DB to query the database.

db = SQLiteDB::connect("site.db");
res = exec(db,"SELECT * FROM pagedata WHERE page_id = 10");

Related

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