Skip to content

Commit 59ee412

Browse files
committed
Update code_sample of updateDocuments
1 parent e12e5e9 commit 59ee412

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.code-samples.meilisearch.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ add_or_replace_documents_1: |-
2222
}])
2323
add_or_update_documents_1: |-
2424
client.getIndex('movies').updateDocuments([{
25-
movieskud: 287947,
26-
title: 'Shazam ⚡️'
25+
id: 287947,
26+
title: 'Shazam ⚡️',
27+
genre: 'comedy'
2728
}])
2829
delete_all_documents_1: |-
2930
client.getIndex('movies').deleteAllDocuments()

0 commit comments

Comments
 (0)