diff --git a/docs/guide.md b/docs/guide.md index e42643c18d1..2ed451b08c3 100644 --- a/docs/guide.md +++ b/docs/guide.md @@ -1471,7 +1471,7 @@ schema.searchIndex({ }); // Will automatically attempt to create the `my-index` search index. const Test = mongoose.model('Test', schema); -`` +```

With ES6 Classes