Skip to content

Commit c16f785

Browse files
authored
change index example code
1 parent ef6db05 commit c16f785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/examples/ServerManualCodeExamples.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ fun main() = runBlocking {
605605
// End Example 58
606606

607607
// Start Index Example 1
608-
collection.createIndex(Indexes.ascending("score"))
608+
collection.createIndex(Indexes.descending("name"))
609609
// End Index Example 1
610610

611611
// Start Index Example 2

0 commit comments

Comments
 (0)