nestjsx / crud

NestJs CRUD for RESTful APIs
https://github.com/nestjsx/crud/wiki
MIT License
4.04k stars 534 forks source link

Search filter for 'closest to' #612

Open brussee opened 3 years ago

brussee commented 3 years ago

SQL equivalent: SELECT * ORDER BY (a - b) LIMIT 1

I don't think this is already possible with the current filters? https://github.com/nestjsx/crud/wiki/Requests#filter-conditions

Thanks!