For this I need an easy way to pass a prefix param to Repo.
I can’t find any documentation or example for that.
This is my old query which after adding a prefix works with triplex
def list_users do
Repo.all(Users, prefix: "demo")
end
You can look into my last commit of that repo here.
AFAICS it’s indeed missing from turbo_ecto but easily added, so I guess I should file a pull request soon but for now you can use my fork (via the above git dependency line in mix.exs) if you want.
Have fun coding!