Util Methods

CSAL Mongo

Util Methods CSAL Mongo Access Library
The Util type exposes the following members.
Methods

  NameDescription
Public methodStatic memberExtractArray
Given a BSON document and a field, return the BSON array corresponding to src[fldName]. If that isn't possible (null values, incorrect type, etc) then do NOT throw an exception
Public methodStatic memberExtractDoc
Given a BSON document and a field, return the BSON document corresponding to src[fldName]. If that isn't possible (null values, incorrect type, etc) then do NOT throw an exception
Back to Top
See Also