Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: queries with Relationship Attribute #5757

Closed
2 tasks done
TechComet opened this issue Jun 30, 2023 · 2 comments
Closed
2 tasks done

🐛 Bug Report: queries with Relationship Attribute #5757

TechComet opened this issue Jun 30, 2023 · 2 comments
Labels
bug Something isn't working product / databases Fixes and upgrades for the Appwrite Database.

Comments

@TechComet
Copy link

TechComet commented Jun 30, 2023

👟 Reproduction steps

I Development with Flutter with appwrite package
categoryCollection have Relationship Attribute with forum name
Relationship Attribute with type oneToMany (forum attribute name to forum collection)

final response = await ApiClient.database.listDocuments(
    databaseId: appwriteDatabaseId,
    collectionId: categoryCollection,
    queries: [
      Query.isNotNull('forum'),
    ],
  );

👍 Expected behavior

show any forum if not have null in forum attribute

👎 Actual Behavior

AppwriteException: general_unknown, Server Error (500)

🎲 Appwrite version

Version 1.3.x

💻 Operating system

Windows

🧱 Your Environment

I tested with Appwrite 1.3.1 and 1.3.7

I tested with Appwrite SDK 9.0.0 and 9.0.1

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@TechComet TechComet added the bug Something isn't working label Jun 30, 2023
@TechComet TechComet changed the title 🐛 Bug Report: 🐛 Bug Report: queries with Relationship Attribute Jun 30, 2023
@gepd
Copy link
Contributor

gepd commented Jul 1, 2023

Queries on relationship are currently not supported

@joeyouss
Copy link

joeyouss commented Aug 8, 2023

Hi @TechComet I am closing this for now since queries currently are not supported in Relationships, we will keep you posted once they are : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working product / databases Fixes and upgrades for the Appwrite Database.
Projects
None yet
Development

No branches or pull requests

3 participants