Versioned.history_query

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

history_query(module, id, opts \\ [])

View Source

Specs

history_query(module(), any(), keyword()) :: Ecto.Queryable.t()

Get the query to fetch all the versions for a schema, newest first.

Options

  • :limit - Max number of records to return. Default: return all records.