Lines Matching refs:query
516 …$query = 'SELECT id, uri, lastmodified, etag, calendarid, size, calendardata, componenttype FROM '…
518 $query .= implode(',', array_fill(0, count($chunk), '?'));
519 $query .= ')';
521 $stmt = $this->pdo->prepare($query);
824 …$query = "SELECT uri, calendardata FROM " . $this->calendarObjectTableName . " WHERE calendarid = …
826 … $query = "SELECT uri FROM " . $this->calendarObjectTableName . " WHERE calendarid = :calendarid";
834 $query .= " AND componenttype = :componenttype";
839 $query .= " AND lastoccurence > :startdate";
843 $query .= " AND firstoccurence < :enddate";
847 $stmt = $this->pdo->prepare($query);
886 $query = <<<SQL
900 $stmt = $this->pdo->prepare($query);
988 …$query = "SELECT uri, operation FROM " . $this->calendarChangesTableName . " WHERE synctoken >= ? …
989 if ($limit > 0) $query .= " LIMIT " . (int)$limit;
992 $stmt = $this->pdo->prepare($query);
1022 $query = "SELECT uri FROM " . $this->calendarObjectTableName . " WHERE calendarid = ?";
1023 $stmt = $this->pdo->prepare($query);
1463 $query = <<<SQL
1475 $stmt = $this->pdo->prepare($query);