Lines Matching refs:query
964 $query = '
987 $worked = $this->db->exec($query);
994 $query = '
1004 $worked = $this->db->exec($query);
1011 $query = '
1017 $worked = $this->db->exec($query);
1024 $query = '
1031 $worked = $this->db->exec($query);
1038 $query = '
1052 $worked = $this->db->exec($query);
1064 $query = 'SELECT t.testpath, c.linenumber
1069 $result = $this->db->query($query);
1085 $query = 'SELECT testpath from tests ORDER BY testpath';
1086 $result = $this->db->query($query);
1102 $query = 'SELECT DISTINCT filepath
1109 $query = 'SELECT DISTINCT filepath
1117 $result = $this->db->query($query);
1132 $query = 'SELECT filepath from files ORDER BY filepath';
1134 $query = 'SELECT filepath from files WHERE issource=1 ORDER BY filepath';
1136 $result = $this->db->query($query);
1163 $query = 'SELECT COUNT(linenumber),filepath FROM coverage_per_file, files
1166 $result = $this->db->query($query);
1176 $query = 'SELECT COUNT(linenumber),filepath FROM coverage_per_file, files
1179 $result = $this->db->query($query);
1209 $query = 'SELECT COUNT(linenumber)
1212 $result = $this->db->query($query);
1224 $query = 'SELECT COUNT(linenumber)
1227 $result = $this->db->query($query);
1246 $query = 'SELECT iscovered as coverage, linenumber FROM coverage
1248 $result = $this->db->query($query);
1264 $query = 'SELECT id FROM files WHERE filepath=:filepath';
1265 $stmt = $this->db->prepare($query);
1278 $query = 'SELECT id FROM tests WHERE testpath=:filepath';
1279 $stmt = $this->db->prepare($query);
1307 $query = 'INSERT INTO tests
1310 $stmt = $this->db->prepare($query);
1317 $query = 'INSERT INTO xdebugs
1320 $stmt = $this->db->prepare($query);
1330 $query = 'SELECT xdebugpathmd5 FROM xdebugs
1332 $stmt = $this->db->prepare($query);
1353 $query = 'SELECT id FROM files WHERE filepath=:filepath';
1354 $stmt = $this->db->prepare($query);
1360 $query = 'UPDATE files SET filepathmd5=:md5 WHERE filepath=:filepath';
1361 $stmt = $this->db->prepare($query);
1371 $query = 'INSERT INTO files
1374 $stmt = $this->db->prepare($query);
1387 $query = 'SELECT coveragecount FROM coverage_per_file
1389 $result = $this->db->query($query);
1403 $query = 'SELECT coverage, linenumber FROM coverage_per_file
1406 $result = $this->db->query($query);
1425 … $query = 'SELECT SUM(iscovered) as coverage, linenumber FROM coverage WHERE files_id=' . $id . '
1427 $result = $this->db->query($query);
1442 $query = 'DELETE FROM coverage_per_file';
1443 $this->db->exec($query);
1449 $query = 'INSERT INTO coverage_per_file
1452 $this->db->exec($query);
1481 $query = 'INSERT INTO coverage
1485 $worked = $this->db->exec($query);
1518 $query = '
1521 $result = $this->db->query($query);
1528 $query = '
1534 $result2 = $this->db->query($query);
1548 $query = '
1551 $result = $this->db->query($query);