createDropCollectionCommand static method

DbCommand createDropCollectionCommand(
  1. Db db,
  2. String collectionName
)

Implementation

static DbCommand createDropCollectionCommand(Db db, String collectionName) {
  return DbCommand(
      db,
      SYSTEM_COMMAND_COLLECTION,
      MongoQueryMessage.OPTS_NO_CURSOR_TIMEOUT,
      0,
      -1,
      {'drop': collectionName},
      null);
}