Mongo.Session.bind_session

You're seeing just the function bind_session, go back to Mongo.Session module for more information.

Specs

bind_session(t(), BSON.document()) ::
  {:ok, pid(), BSON.document()} | {:error, term()}

Merge the session / transaction data into the cmd. There is no need to call this function directly. It is called automatically.