Skip to content

Instantly share code, notes, and snippets.

@nunomaduro
Created December 19, 2018 13:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nunomaduro/28bcc910858cdc7255d0b806542c57a2 to your computer and use it in GitHub Desktop.
Save nunomaduro/28bcc910858cdc7255d0b806542c57a2 to your computer and use it in GitHub Desktop.
Scout Extended Where Between
<?php
$products = Products::search('Star Trek')
->whereBetween('price', [100, 200])
->get();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment