MrT2010
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` property Recommended threads
- Need Help with Google OAuth2 in Expo usi...
I'm learning React Native with Expo and trying to set up Google OAuth2 with Appwrite. I couldn't find any good docs or tutorials for this and my own attempt did...
- Got message for auto payment of 15usd fo...
how did this happen? 1. i claimed my 50usd credits via jsm hackathon - https://hackathon.jsmastery.pro/ 2. it asked me which org. to apply the credits on, i se...
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...