You're seeing just the function ownership_checkout, go back to DBConnection.Ownership module for more information.
Link to this function

ownership_checkout(manager, opts)

View Source


ownership_checkout(GenServer.server(), Keyword.t()) ::
  :ok | {:already, :owner | :allowed}

Explicitly checks a connection out from the ownership manager.

It may return :ok if the connection is checked out. {:already, :owner | :allowed} if the caller process already has a connection, :error if it could be not checked out or raise if there was an error.