Get Values Back

Learn about the values returned by queries in Ecto.

Return value of queries

In each of the examples we’ve seen so far, Ecto returns a tuple. This is the standard return value for the *_all functions.

  • The first item in the tuple is the number of records affected by the operation.
  • The second
...