| field.append(mf.getNameToStore());
ensureIndex(dbColl,
index.name(),
new BasicDBObject(field.toString(), index.value().toIndexValue()),
index.unique(),
index.dropDups(),
index.background() ? index.background() : background,
index.sparse(),
index.expireAfterSeconds());
}
|