Ecto, add raw SQL at end of query or rather choose row at random

Hi! I have the same issue, except converting raw sql to Ecto query. is it possible? I wanted to do something like:

Ecto.Queryable.to_query("foo TABLESAMPLE system_rows(1)") ...

update: this answered my question.

1 Like