diff --git a/Classes/Domain/Service/SqLiteIndex.php b/Classes/Domain/Service/SqLiteIndex.php index b437318..558e10b 100644 --- a/Classes/Domain/Service/SqLiteIndex.php +++ b/Classes/Domain/Service/SqLiteIndex.php @@ -195,7 +195,7 @@ public function query($query) { if ($result === false) { return $resultArray; } - + while ($resultRow = $result->fetchArray(SQLITE3_ASSOC)) { $resultArray[] = $resultRow; } diff --git a/Classes/Search/SqLiteQueryBuilder.php b/Classes/Search/SqLiteQueryBuilder.php index 32f1b72..a2392c0 100644 --- a/Classes/Search/SqLiteQueryBuilder.php +++ b/Classes/Search/SqLiteQueryBuilder.php @@ -327,62 +327,6 @@ public function likeAnyMatch($propertyName, $propertyValues) { return $this; } - /** - * Add a range filter (gt) for the given property - * - * @param string $propertyName Name of the property - * @param mixed $value Value for comparison - * @return QueryBuilder - * @api - */ - public function greaterThan($propertyName, $value) { - $this->where[] = sprintf(" (`%s`) > %s", $propertyName, $value); - - return $this; - } - - /** - * Add a range filter (lt) for the given property - * - * @param string $propertyName Name of the property - * @param mixed $value Value for comparison - * @return QueryBuilder - * @api - */ - public function lessThan($propertyName, $value) { - $this->where[] = sprintf(" (`%s`) < %s", $propertyName, $value); - - return $this; - } - - /** - * Add a range filter (gte) for the given property - * - * @param string $propertyName Name of the property - * @param mixed $value Value for comparison - * @return QueryBuilder - * @api - */ - public function greaterThanOrEqual($propertyName, $value) { - $this->where[] = sprintf(" (`%s`) >= %s", $propertyName, $value); - - return $this; - } - - /** - * Add a range filter (lte) for the given property - * - * @param string $propertyName Name of the property - * @param mixed $value Value for comparison - * @return QueryBuilder - * @api - */ - public function lessThanOrEqual($propertyName, $value) { - $this->where[] = sprintf(" (`%s`) <= %s", $propertyName, $value); - - return $this; - } - /** * @return string */