Mongo.create_indexes
You're seeing just the function
create_indexes
, go back to Mongo module for more information.
Specs
create_indexes(GenServer.server(), String.t(), [Keyword.t()], Keyword.t()) :: :ok | {:error, Mongo.Error.t()}
Convenient function to creates new indexes in the collection coll
. The indexes
parameter is a
list with all options for creating indexes in the MongoDB.
See options about the details of each parameter.