xy2z / capro

PHP8 static site generator
MIT License
8 stars 2 forks source link

Collector: where() should allow comparison operators #22

Open xy2z opened 1 year ago

xy2z commented 1 year ago

https://www.php.net/manual/en/language.operators.comparison.php

Example:

Capro::pages()->where('weight', '>=', 200)->get();

But also it could use a param to use case sensitive or not, so think that in maybe :)