Mongo.rename_collection

You're seeing just the function rename_collection, go back to Mongo module for more information.
Link to this function

rename_collection(topology_pid, collection, to, opts \\ [])

View Source

Specs

rename_collection(GenServer.server(), collection(), collection(), Keyword.t()) ::
  :ok | {:error, Mongo.Error.t()}

Changes the name of an existing collection. Specify collection names to rename_collection in the form of a complete namespace (<database>.<collection>).