Lines Matching refs:sqlite
36 $sqlite = $this->dthlp->_getDB();
37 if(!$sqlite) return false;
42 $res = $sqlite->query($dataau['sql']);
43 if(!$sqlite->res2count($res)) return true; // no rows matched
44 $rows = $sqlite->res2arr($res);
75 $sqlite = $this->dthlp->_getDB();
76 if(!$sqlite) return false;
88 $res = $sqlite->query($sql, $col, $id);
89 while($value = $sqlite->res_fetch_assoc($res)) {
95 $cond[] = " ( T1.key = " . $sqlite->quote_string($col) .
96 " AND T1.value IN (" . $sqlite->quote_and_join($values, ',') . ") )\n";
116 $from .= ' AND ' . $tables[$col] . ".key = " . $sqlite->quote_string($col);
142 $from .= ' AND ' . $tables[$col] . ".key = " . $sqlite->quote_string($col);
157 AND pages.page != " . $sqlite->quote_string($id) . "