Back

How to add filter in ListDocuments in .NET SDK

  • 0
  • Self Hosted
showmore
10 Apr, 2023, 10:53

hey every one, I am experiment appwrite in c# .NET it seems interesting. there is no basic documentation for .NET, so let me ask here, my first question how can we filter data in ListDocument , it expected list<object> ? filters = null but from my flutter and web experience, I was doing like this queries: [ Query.equal("uid", uid), ], so how can Filer data inside ListDocuments() function in .NET, thanks. Note : I have try this [ " uid" ]

TL;DR
User is asking for help on how to add a filter in ListDocuments in the .NET SDK for Appwrite. Another user suggests using the REST API since there is no SDK yet. Solution suggested is to use the NuGet package "Appwrite" version 0.3.0-alpha01. No official documentation for .NET is available yet.
safwan
10 Apr, 2023, 10:54

If i'm not wrong, you need to use the REST API for .NET since it doesn't have an SDK yet

safwan
10 Apr, 2023, 10:54

Correct?

showmore
10 Apr, 2023, 10:55

its not official, but it work fine, NuGet\Install-Package Appwrite -Version 0.3.0-alpha01

Drake
10 Apr, 2023, 16:26

That is a pretty old SDK...maybe for Appwrite 0.11.x 👀 I don't even remember what queries looked like in that version 😅 . I'd be very wary of using it against a newer version of Appwrite.

we hope to release some updates to the dotnet sdk so stay tuned!

showmore
10 Apr, 2023, 18:19

can we expect for .NET SDK when 1.3.x release ?

Drake
10 Apr, 2023, 18:32

probably not with the 1.3 release, but probably a little bit after that. Follow https://github.com/appwrite/sdk-for-dotnet/issues/19 to stay updated

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more