Back

Query.contains in Client SDK

  • 0
  • Web
Nikky
4 Oct, 2023, 12:55

Hi, is** Query.contains** not yet supported in Client SDK? What is the suggested alternative to query if a value exist in an array field of a document with Client SDK?

TL;DR
Yes, Query.contains is not currently supported in the Client SDK. You can show your support for this feature by liking the feature request on GitHub: <https://github.com/appwrite/appwrite/issues/2838>. As for an alternative, you can try using a regular expression to check if a value exists in an array field of a document with the Client SDK.
Drake
5 Oct, 2023, 01:18

That type of query is not supported yet. Make sure you πŸ‘πŸΌ this feature request: https://github.com/appwrite/appwrite/issues/2838

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more