nestjsx / crud

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

Filtering a value that its "value" is actually another field #756

Open Hugo01 opened 2 years ago

Hugo01 commented 2 years ago

Hello I've been reading through the docs and on this session "https://github.com/nestjsx/crud/wiki/Requests#description" I can see that you can filter using

{ field: "FIELD": operator: "$OPERATOR", value: "VALUE" }

But what if the value is actually another field? for instance

{ field: "ColumName1": operator: "$eq", value: "TheValueOfColumnName2" }

Can this be done?