Skip to content

Commit a57715d

Browse files
authored
Update docs/getting-started.asciidoc
1 parent 9c4f1a1 commit a57715d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/getting-started.asciidoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,10 @@ This is how you can update a document, for example to add a new field:
129129

130130
[source,net]
131131
----
132+
doc.Message = "This is a new message";
132133
134+
var response = await client.UpdateAsync<MyDoc, MyDoc>("my_index", 1, u => u
135+
.Doc(doc));
133136
----
134137

135138

0 commit comments

Comments
 (0)