Exandra.Tuple (exandra v1.0.0)

Copy Markdown View Source

Ecto.ParameterizedType for tuples.

Available since v0.11.0.

Options

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

Examples

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

Summary

Types

t()

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