mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-09 12:58:31 +02:00
fix(docs): correct C# MatchExcept snippet (was using Match instead of MatchExcept) (#2345)
* fix(docs): correct C# MatchExcept snippet to use MatchExcept instead of Match The C# code example in the match-except filter condition snippet was incorrectly using Match() instead of MatchExcept(), making it identical to the match-any example. This is misleading for developers trying to implement the MatchExcept (NOT IN) filter condition in C#. Fixes #1656 * Add Markdownified code snippet --------- Co-authored-by: Abdon Pijpelink <abdon.pijpelink@qdrant.com>
This commit is contained in:
co-authored by
Abdon Pijpelink
parent
aca47a9ee7
commit
5aa98e5959
+1
-1
@@ -4,6 +4,6 @@ public class Snippet
|
||||
{
|
||||
public static async Task Run()
|
||||
{
|
||||
Match("color", ["black", "yellow"]);
|
||||
MatchExcept("color", ["black", "yellow"]);
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
```csharp
|
||||
using static Qdrant.Client.Grpc.Conditions;
|
||||
|
||||
Match("color", ["black", "yellow"]);
|
||||
MatchExcept("color", ["black", "yellow"]);
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user