Hi all, is there any way to use "not" for the "contains" in Query? I have a text field and would like to query list of items with that field not containing certain words. Thanks
Hi
@541919862608363530we don't currently have an operator that could represent
not containsbut it could definitely be built - if you're up for making a PR, we would happily accept it! See related github discussion
https://github.com/payloadcms/payload/discussions/1294Hi
@854377910689202256, thanks for replying. I will try to see what I can do. Any hints or guide where I can look into adding this feature?
Star
Discord
online
Get dedicated engineering support directly from the Payload team.