if (log.isTraceEnabled())
log.trace("Executing update(" + dbColl.getName() + ") for query: " + q + ", ops: " + u + ", multi: " + multi + ", upsert: " + createIfMissing);
WriteResult wr;
if (wc == null)
wr = dbColl.update(q, u, createIfMissing, multi);
else
wr = dbColl.update(q, u, createIfMissing, multi, wc);
throwOnError(wc, wr);