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
- is `account.get()` safe to be used in th...
I want to user's `id` for authentication. However, a while ago I was told in this server not to use `account.get()` and instead add user preferences for that us...
- Appwrite console is too heavy
The Appwrite console is too heavy And all of my services broken Any support , please
- Cloud function deploy stucks in processi...
Been trying for the last hours to deploy my function but for whatever reason, alwasy stuck on processing!