src/mongo/db/repl/sync_tail_test.cpp
/**
 * Creates an insert oplog entry with given optime and namespace.
 */
Creates an insert oplog entry with given optime and namespace.
Creates an insert oplog entry with given optime and namespace .
OplogEntry makeInsertDocumentOplogEntry(OpTime opTime,
                                        const NamespaceString& nss,
                                        const BSONObj& documentToInsert) {
    return OplogEntry(opTime, 1LL, OpTypeEnum::kInsert, nss, documentToInsert);
}
OplogEntry makeInsertDocumentOplogEntry ( OpTime opTime , const NamespaceString & nss , const BSONObj & documentToInsert ) { return OplogEntry ( opTime , 1LL , OpTypeEnum :: kInsert , nss , documentToInsert ) ; }
Creates an insert oplog entry with given optime and namespace.
Creates an insert oplog entry with given optime and namespace .