1. Value accessors

MongoDB value accessors

Version:

This topic describes the value accessors that are included with the MongoDB provider for Data Exchange Framework.

The MongoDB provider is part of the standard Data Exchange Framework installation.

Current document value accessor

This value accessor provides the ability to read the source object if it is a BSON document.

This value accessor is used when you need to pass the entire BSON document to another component.

Expected source/target object typeMongoDB.Bson.BsonDocument
Template locationData Exchange/Providers/MongoDB/Data Access/Value Accessors/MongoDB Current Document Value Accessor
Note

This value accessor is read-only.

Template fields

This template has no fields on it.

Document field value accessor

This value accessor provides the ability to read a value from a field on a MongoDB document.

Expected source/target object typeMongoDB.Bson.BsonElement or MongoDB.Bson.BsonDocument
Template locationData Exchange/Providers/MongoDB/Data Access/Value Accessors/MongoDB Document Field Value Accessor
Note

This value accessor is read-only.

Template fields

Field nameDescription
Field NameThe name of the field whose value is read.
BSON Field Value ReaderThe component used to convert the BSON value to a value that can be used outside of MongoDB.
If you have suggestions for improving this article, let us know!