Back

database

  • 0
  • Storage
tonymelony
12 Mar, 2024, 19:22

Hey there,

I have setup now my database for my comments and I can acces all my attributen. Bit for my comment on comments i only can cal

TypeScript
//I can call
Comment: string;
// can't call
Comment: relationship
User: relationship
Likes: relationship

But I use it bots in the same way via a map

Comment via the postmap And Comment on comment via the comment map, but for some reisonderdelen I can't acces all the attributes. Can someone help me

TL;DR
Developers are having trouble accessing attributes in their database setup when trying to access comments on comments. They are able to access the 'Comment' attribute but not the 'User' or 'Likes' attributes. The issue occurs when trying to access attributes within a map. Solution: Check the relationships within the database schema to ensure they are correctly defined for accessing attributes in the map.
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