handleWriteResult

fnvoid handleWriteResult(string countField = null, T)( Bson dbResult, ref T result, string file = __FILE__, size_t line = __LINE__)

Handles the raw DB response from insert, update or delete operations.

If the countField template argument is set, that field is set on result to dbResult["n"], if it exists.