Back

Relation to Same Table/Collection in Appwrite

  • 0
  • Databases
  • Cloud
martino
4 Mar, 2024, 00:01

does anyone know what the best way to list friends would be for a user? I'm migrating from PocketBase where we had a relation from the user table back to the user table, but it doesn't seem like that's possible in Appwrite, unless its a bug?

In PocketBase I just edited my users table, but since I already have an Auth Table AND a user profiles tables, it feels silly to make a third table just to get the same functionality PocketBase gave us in one (hopefull this makes sense haha)

TL;DR
Developers are looking for a way to list friends for a user in Appwrite similar to what was possible in PocketBase with a relation back to the user table. They are considering whether to create a third table for this in Appwrite.
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