Mongo.Ecto.command

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

command(repo, command, opts \\ [])

View Source

Specs

Runs a command in the database.

Usage

Mongo.Ecto.command(Repo, drop: "collection")

Options

  • :database - run command against a specific database (default: repo's database)
  • :log - should command queries be logged (default: true)

For list of available commands plese see: http://docs.mongodb.org/manual/reference/command/