Skip to content
Back

Substring lookup for array elements

  • 0
  • Tools
  • Web
  • Cloud
Los Feliz
16 Feb, 2026, 23:59

Hello, Is substring look up possible for array of strings?

TypeScript
Query.contains('product_names', [chair]),

this only works if I have the exact item name. cha instead of chair does not work.

product_names is a an array: ['chair', 'door', 'table']

TL;DR
Developers want to know if substring lookup is possible for array elements. The current query only works with exact item names, not substrings. The array `product_names` is `['chair', 'door', 'table']`.
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