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
- Cannot migrate from Supabase
Hi, I was trying to migrate from Supabase to the Appwrite database. My database had around 190K columns. I tried it twice. Both times, after 2 days, the proce...
- Production down - createExecution return...
Hey, Since 1.9.6 rollout in fra (~17:00 UTC, 14 Aug), POST /v1/functions/{functionId}/executions returns a 400 whenever the body includes an empty headers ob...
- Domain is owned by a different organizat...
Hi Appwrite team, I'm trying to add my custom domain **futlive9.com** to my project, but I'm getting the error: "Domain is owned by a different organization." ...