performing / filter-sql
simple sql like dsl for filtering
dev-main
2024-09-24 15:17 UTC
Requires
- php: ^8.3
- antlr/antlr4-php-runtime: ^0.9.1
Requires (Dev)
- larapack/dd: ^1.1
This package is auto-updated.
Last update: 2024-11-24 15:36:29 UTC
README
simple sql-like expression language generated by ANTLR4 and inspired by https://github.com/fattureincloud/api-filter
use Performing\FilterSql\FilterSql; FilterSql::parse("margin > 10 and margin < cost or (margin = 10 and cost = 10)");