Is it possible to fetch 10 random records from database using only pure Ecto queries, and not on application side? For example, I'm don't want to get all records from the database and then take random values from them in Elixir (like this):
Subscribers
|> Repo.all
|> Enum.take_random(10)
import Ecto.Query
first) – Debatable