I have for testing a very easy query and even this is not working:
TypeScript
var query = new List<string>
{
Query.Limit(1)
};
var result = await database.ListDocuments(databaseId: databaseId, collectionId: collectionId, queries: query);
result still has 2 documents (my collection has 2 documents) as if I am calling ListDocuments without the query.
I am using: AppWrite Cloud Version 1.5.7 .NET SDK 0.8.3.0
TL;DR
Issue: Query is not being applied when using .NET SDK with AppWrite Cloud Version 1.5.7. Result still shows all documents instead of limited to 1.
Solution: The issue might be due to incorrect implementation of the query. Try updating the query format as follows:
```csharp
var query = new List<Filter>
{
new Filter
{
Limit = 1
}
};
var result = await database.ListDocuments(databaseId: databaseId, collectionId: collectionId, filters: query);
```
By adjusting the query format to use `Filter` and specifying the `Limit` propertyRecommended threads
- Cant sign up for appwrite cloud. Never s...
Cant sign up for appwrite cloud. Never sends me an email verification
- The file size is either not valid or exc...
Hello, I am receiving the following error when I am trying to deploy a function from my local. ``` > appwrite push functions --function-id xxxxxxxxx ℹ Info: Va...
- Confused about the pricing. Can I get so...
I 'm really confused about the pricing here. I've got the pro plan and i have 4 projects open. As you can see, I'm nowhere near my usage limits with these proje...