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 @Kha Kim Vinh we 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 @jesschow , 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 help straight from the Payload team with an Enterprise License.