Ecto.Type.match-question-mark

You're seeing just the function match-question-mark, go back to Ecto.Type module for more information.
Link to this function

match?(schema_type, query_type)

View Source

Specs

match?(t(), primitive()) :: boolean()

Checks if a given type matches with a primitive type that can be found in queries.

iex> match?(:string, :any)
true
iex> match?(:any, :string)
true
iex> match?(:string, :string)
true

iex> match?({:array, :string}, {:array, :any})
true

iex> match?(Ecto.UUID, :uuid)
true
iex> match?(Ecto.UUID, :string)
false