Back

Queries with teams

  • 0
  • Flutter
Ahmed Hammad
27 Jun, 2024, 12:57

Can I do a queries with roles of team ?

for example : List Team Memberships with only owner members so if I am the only owner it will return only 1 membership of owner

TL;DR
Developers are encountering an issue with using queries in Teams, specifically when attempting to pass the attribute "Flutter SDK" which is not part of Teams. The SDK method may allow queries, so it's worth exploring further. There is mention of potentially querying Team Memberships with only owner members, which would return only 1 membership if the developer is the sole owner. The previous ability to OrderDSC in version 0.15 has been lost.
darShan
27 Jun, 2024, 14:06

haven't tried but the sdk method accepts queries, maybe take a dig at it? https://appwrite.io/docs/references/cloud/client-web/teams#list

Ahmed Hammad
27 Jun, 2024, 21:28

didn't work and getting errors " Attribute not found " so I ask , I need to pass attribute "Flutter Sdk" , which is not an component of Teams , Tried "ROLES", "Roles" , Didn't work , I think usage of Queries with Teams is limited to some queries like "limit" but the Sdk not handling this .

Ahmed Hammad
27 Jun, 2024, 23:07

And , we lost the ability to OrderDSC that existed before in 0.15

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