Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit d231487

Browse files
gefjonkazimuth
andauthored
Read .Value
Co-authored-by: james gilles <[email protected]>
1 parent 152ed2c commit d231487

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules/c-sharp/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ public static partial class Module {
480480
[Reducer]
481481
void Demo(ReducerContext ctx) {
482482
var idIndex = ctx.Db.user.Id;
483-
var exampleUser = idIndex.Find(357);
483+
var exampleUser = idIndex.Find(357).Value;
484484
exampleUser.DogCount += 5;
485485
idIndex.Update(exampleUser);
486486

0 commit comments

Comments
 (0)