Skip to content

Commit

Permalink
Update freeredis.md
Browse files Browse the repository at this point in the history
  • Loading branch information
2881099 authored Oct 21, 2024
1 parent c07298d commit 9d76708
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions docs/guide/freeredis.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ using (var db = cli.GetDatabase(10))
}
```

### 🔍 Scan (扫描)
## 🔍 Scan (扫描)

> 支持集群模式
Expand All @@ -177,7 +177,7 @@ foreach (var keys in cli.Scan("*", 10, null))
}
```

### 🍡DelayQueue (延时队列)
## 🍡DelayQueue (延时队列)

```c#
var delayQueue = cli.DelayQueue("TestDelayQueue");
Expand All @@ -199,7 +199,7 @@ await delayQueue.DequeueAsync(s =>
});
```

### 🐆 RediSearch
## 🐆 RediSearch

```csharp
cli.FtCreate(...).Execute();
Expand Down Expand Up @@ -253,14 +253,3 @@ list = repo.Search(a => a.Title == "word").Filter(a => a.Views, 1, 1000).ToList(
list = repo.Search("word").ToList();
list = repo.Search("@title:word").ToList();
```

## 🔍 Scan (扫描)

> 支持集群模式
```csharp
foreach (var keys in cli.Scan("*", 10, null))
{
Console.WriteLine(string.Join(", ", keys));
}
```

0 comments on commit 9d76708

Please sign in to comment.