Created
December 19, 2018 13:35
-
-
Save nunomaduro/28bcc910858cdc7255d0b806542c57a2 to your computer and use it in GitHub Desktop.
Scout Extended Where Between
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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