Back

Array is empty still getting in .isNotNull

  • 0
  • Databases
  • Web
-N I N J A-
1 Jan, 2024, 17:41

I have some docs with empty array but using Query.isNotNull('urls') still getting those docs, why???

Same when I use Query.equal('urls','[]')

TL;DR
The user is asking when array queries will be supported. They are encountering an issue where they have documents with empty arrays, but when they use the Query.isNotNull('urls') or Query.equal('urls','[]') methods, they still get those documents. The support thread does not provide a solution to this issue.
Drake
1 Jan, 2024, 21:29

Queries on arrays are not supported so you may get some unexpected results

-N I N J A-
2 Jan, 2024, 07:52

Any update?? when we will be able to query arrays??

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