-N I N J A-Original post
Rank 2: Process
When I do query like:
await _databases.listDocuments(
databaseId: AppwriteConfig.DATABASE_ID,
collectionId: AppwriteConfig.SERVICES_COLLECTION_ID,
queries: [
Query.limit(1),
],
);
to get all services and services has two-way relationship with users database, but why I am not getting the array of services in user array??
Example: list services collection => serviceData+UserData(where is list of services becoz it has relationship with servces collection)? 😂
Summary
Developers are experiencing an issue where querying for services is not returning the array of services within the user array due to relationship restrictions. The solution is to adjust the query to ensure the retrieval of services accurately reflects the relationships in the database.