We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This needs better documentation but you can build advanced queries like this: use \Maphper\Maphper::FIND_OR; use \Maphper\Maphper::FIND_AND; use \Maphper\Maphper::FIND_LESS; use \Maphper\Maphper::FIND_GREATER; $products->filter([ FIND_OR => [ FIND_AND => [ FIND_GREATER => [ 'price' => 50 ], FIND_LESS => [ 'price' => 100 ] ], 'onSale' = 1 ] ]);
This needs better documentation but you can build advanced queries like this:
use \Maphper\Maphper::FIND_OR; use \Maphper\Maphper::FIND_AND; use \Maphper\Maphper::FIND_LESS; use \Maphper\Maphper::FIND_GREATER; $products->filter([ FIND_OR => [ FIND_AND => [ FIND_GREATER => [ 'price' => 50 ], FIND_LESS => [ 'price' => 100 ] ], 'onSale' = 1 ] ]);
Could you add more documentation and examples about (complex) filters?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Could you add more documentation and examples about (complex) filters?
The text was updated successfully, but these errors were encountered: