View Source Exandra.Tuple (exandra v0.11.0)

Ecto.ParameterizedType for tuples.

Available since v0.11.0.

options

Options

  • :types (list of term/0) - Required. The types of the elements in the tuple.

examples

Examples

schema "user" do
  field :favorite_movie_with_score, Exandra.Tuple, types: [:string, :integer]
end

Link to this section Summary

Link to this section Types

@type t() :: Tuple.t()