only call toArray if the method exists. when doing mongo updates and inserts it won’t exist, so just resolve with null
only call toArray if the method exists. when doing mongo updates and
inserts it won’t exist, so just resolve with null

officert/mongotron,officert/mongotron