Versioned.with_version_id

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

with_version_id(queryable, mod \\ nil)

View Source

Specs

with_version_id(Ecto.Queryable.t(), Ecto.Schema.t() | nil) :: Ecto.Query.t()

Build the query to populate the :version_id virtual field on a versioned entity.

query may be any existing base query for the entity which is versioned. mod, if defined, should be the entity module name itself. If not defined, query must be this module name and not any type of query.