Back

[SOLVED] TypeScript error Angular with Query.

  • 0
  • Databases
  • Web
Manaberry_mac
28 Jul, 2023, 07:05

Hi,

First of all, I'm not a regular developper. I've built my own website to showcase my work and, from time to time, I try to update it. I'm moving away from Firebase (tired of Google support paywall and incompetence), and I'm updating my website to Angular 15.

It's a bit hard for me to understand all the Typescript behavior with such a version leap (8 -> 15) So far I've everything working great but parsing data from my appwrite database is the last bit I'm missing. I understand how it works but I'm lost when it comes to format it for Typescrit.

How can I add queries in my Typescript listDocument line?

Thank you for your help.

TL;DR
The user is updating their website from Firebase to Angular 15 and is struggling with parsing data from their appwrite database. They are specifically confused about formatting queries in TypeScript for the listDocument line. There is no solution provided in the thread.
Drake
28 Jul, 2023, 08:03

It expects an array, but you're only passing one value

Manaberry_mac
28 Jul, 2023, 08:08

Jesus, I'm brain dead I guess. I was paying attention too much to the filter itself and not the whole thing.

Manaberry_mac
28 Jul, 2023, 08:08

thank you

Drake
28 Jul, 2023, 17:43

[SOLVED] TypeScript error Angular with Query.

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