#How to do the equivalent of a JOIN query in Appwrite?

15 messages · Page 1 of 1 (latest)

kindred pine
#

Hello,

I'm trying to get documents from a collection but I need to make sure that the document I pull is unique to another document in another collection. If it was sql, I would do a JOIN query but I don't know what's the equivalent in Appwrite. Thank you

elder topaz
#

There is no join in appwrite right now, you could do something like listDocuments where foreign_key = id to see if it exists already?

kindred pine
elder topaz
kindred pine
elder topaz
kindred pine
warped raft
#

What are the Github issues or projects you guys are using to track the JOIN progress? That's such a core and essential feature.

#

@elder topaz

elder topaz
warped raft
#

You can't apparently join on the fly, but you can prepare those joins beforehand.

elder topaz