summaryrefslogtreecommitdiff
path: root/src/mongo/db/keypattern.idl
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/db/keypattern.idl')
-rw-r--r--src/mongo/db/keypattern.idl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/db/keypattern.idl b/src/mongo/db/keypattern.idl
index cd67f8e5428..158c742faab 100644
--- a/src/mongo/db/keypattern.idl
+++ b/src/mongo/db/keypattern.idl
@@ -38,5 +38,5 @@ types:
bson_serialization_type: object
description: An expression describing a transformation of a document into a document key.
cpp_type: KeyPattern
- serializer: KeyPattern::serializeForIDL
+ serializer: KeyPattern::toBSON
deserializer: KeyPattern::fromBSON