Back

[SOLVED] Missing Query methods startWith, endsWith and Between?

  • 0
  • Storage
trashcoder
14 Apr, 2023, 19:43

I would like to make a query search in Appwrite for Web within a storage bucket and would like to use the startsWith method. But Webstorm can't find the method. Going forward to the declaration of Query Class shows, that these methods are missing.

TL;DR
The user was having an issue with missing query methods startWith, endsWith, and Between in Appwrite. The solution was to upgrade to Appwrite SDK 11.0.0.
Drake
14 Apr, 2023, 19:47

what version of the SDK do you have?

trashcoder
14 Apr, 2023, 19:48

appwrite 10.2.0

Drake
14 Apr, 2023, 19:49

ya that's the older SDK for Appwrite 1.2.x. You'll need to upgrade to 11.0.0: https://www.npmjs.com/package/appwrite

trashcoder
14 Apr, 2023, 19:49

ah, ok.

trashcoder
14 Apr, 2023, 19:50

thanks. it's working now.

Drake
14 Apr, 2023, 19:51

[SOLVED] Missing Query methods startWith, endsWith and Between?

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