Lines Matching refs:query
373 $results = $this->sqlite->query("select count(*) from git_commits");
436 $results = $this->sqlite->query("select count(*) from git_commits");
447 …if($this->sqlite->query("INSERT OR IGNORE INTO $table (author,timestamp,gitid,msg,prefix,gitbranch…
460 $query = count($q) ? $q: $_REQUEST['dwc_query'];
469 foreach($query as $col=>$val) {
495 $msg = $this->construct_msg_clause($term1,$term2,$query['OP_1']);
496 $ab_clause = $this->construct_ab_clause($author,$branch,$query['OP_2'],$msg);
504 …$res = $this->sqlite->query("SELECT timestamp,author,msg,gitid,gitbranch FROM git_commits WHERE $q…
519 $query = $q ? $q: $_REQUEST['dwc_query'];
521 $regex = $this->get_hilite_regex($query);
579 function get_hilite_regex($query) { argument
580 $term1 = $query['terms_1'];
581 $term2 = $query['terms_2'];
595 $query = $q ? $q: $_REQUEST['dwc_query'];
597 $regex = $this->get_hilite_regex($query);
839 $this->sqlite->query("DROP TABLE git_commits");
840 …$this->sqlite->query('CREATE TABLE git_commits(author TEXT,timestamp INTEGER,gitid TEXT,msg TEXT, …
842 $results = $this->sqlite->query("select count(*) from git_commits");