Lines Matching refs:db
19 Database db;
52 s.db = db;
159 if (db.is3()) {
324 db.close();
383 t = db.get_table("SELECT name FROM sqlite_master " +
393 t = db.get_table("SELECT name FROM sqlite_master " +
415 db.exec("SELECT sql FROM sqlite_master " +
427 db.exec("SELECT sql FROM sqlite_master " +
441 db.set_encoding(args.length > 0 ? args[0] : null);
450 db.rekey(args.length > 0 ? args[0] : null);
491 db.exec(sql, this);
514 if (db == null) {
521 db.exec(sql, this);
535 s.db = new Database();
571 s.db.open(dbname, 0);
578 s.db.key(key);
594 s.db.close();
615 s.db.exec("SELECT name, type, sql FROM sqlite_master " +
627 s.db.exec("SELECT name, type, sql FROM sqlite_master " +
661 if (s2.db.is3()) {
663 t = s2.db.get_table("PRAGMA table_info('%q')", qargs);
682 s2.db.exec(query, s2, qargs);
684 s2.db.exec("SELECT * from '%q'", s2, qargs);