diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 3991ffa..4cd1216 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,18 +13,16 @@ jobs: strategy: fail-fast: true matrix: - php: [7.2, 7.3, 7.4] - laravel: [^6.0, ^7.0, ^8.0] - scout: [^7.0, ^8.0] - exclude: - - php: 7.2 - laravel: ^8.0 - - laravel: ^8.0 - scout: ^7.0 + php: [8.0, 8.1] + laravel: [^7.0, ^8.0, ^9.0] + scout: [^8.0, ^9.0] include: - - php: 8.0 - laravel: ^8.0 - scout: ^8.0 + - php: 7.4 + laravel: ^6.0 + scout: ^7.0 + - php: 7.4 + laravel: ^7.0 + scout: ^7.0 name: Test PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} - Scout ${{ matrix.scout }} diff --git a/composer.json b/composer.json index 305a86c..0c51981 100644 --- a/composer.json +++ b/composer.json @@ -23,11 +23,11 @@ } ], "require": { - "php": "^7.2|^8.0", - "illuminate/contracts": "~6.0|~7.0|~8.0", - "illuminate/database": "~6.0|~7.0|~8.0", - "illuminate/support": "~6.0|~7.0|~8.0", - "laravel/scout": "~7.0|~8.0" + "php": "^7.3|^8.0", + "illuminate/contracts": "~6.0|~7.0|~8.0|~9.0", + "illuminate/database": "~6.0|~7.0|~8.0|~9.0", + "illuminate/support": "~6.0|~7.0|~8.0|~9.0", + "laravel/scout": "~7.0|~8.0|~9.0" }, "require-dev": { "phpunit/phpunit": "^8.3", diff --git a/src/PostgresEngine.php b/src/PostgresEngine.php index b92b3e0..8ee4770 100644 --- a/src/PostgresEngine.php +++ b/src/PostgresEngine.php @@ -339,6 +339,42 @@ public function map(Builder $builder, $results, $model) }); } + /** + * Map the given results to instances of the given model via a lazy collection. + * + * @param \Laravel\Scout\Builder $builder + * @param mixed $results + * @param \Illuminate\Database\Eloquent\Model $model + * @return \Illuminate\Support\LazyCollection + */ + public function lazyMap(Builder $builder, $results, $model) + { + // TBD + } + + /** + * Create a search index. + * + * @param string $name + * @param array $options + * @return mixed + */ + public function createIndex($name, array $options = []) + { + // TBD. + } + + /** + * Delete a search index. + * + * @param string $name + * @return mixed + */ + public function deleteIndex($name) + { + // TBD. + } + /** * Connect to the database. */
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: