Back

Property 'contains' does not exist on type 'typeof Query'.ts(2339)

  • 0
  • Databases
  • Web
  • Cloud
peppermint
21 Mar, 2024, 12:42

Hi, I'm using SvelteKit SDK from Appwrite and trying to use contains for query. But I got Property 'contains' does not exist on type 'typeof Query'.ts(2339). I'am looking for confirmation whether the error is only happening to me or is it not available in the SDK?

Thank you.

TL;DR
Query 'contains' method is missing in Appwrite SvelteKit SDK version 1.4. Upgrade to version 1.5 to access this feature.
Meldiron
21 Mar, 2024, 12:43

Heyy 👋 I can see you are using Cloud, and contains query. Cloud is currently running Appwrite 1.4, and contains query was added in version 1.5.

Meldiron
21 Mar, 2024, 12:43

We plan to upgrade Cloud to 1.5 in upcomming days/weeks - we are actively working on it. Once upgraded, you can update your SDK and use all the new features.

peppermint
21 Mar, 2024, 12:44

Ahh, I see. Many thanks for enlighten me, can't wait for the 1.5 cloud release.

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