{"action":"closed","issue":{"url":"https://api.github.com/repos/elixir-lang/ecto/issues/379","labels_url":"https://api.github.com/repos/elixir-lang/ecto/issues/379/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/ecto/issues/379/comments","events_url":"https://api.github.com/repos/elixir-lang/ecto/issues/379/events","html_url":"https://github.com/elixir-lang/ecto/issues/379","id":54844752,"number":379,"title":"Allow table name in fragments","user":{"login":"yrashk","id":452,"avatar_url":"https://avatars.githubusercontent.com/u/452?v=3","gravatar_id":"","url":"https://api.github.com/users/yrashk","html_url":"https://github.com/yrashk","followers_url":"https://api.github.com/users/yrashk/followers","following_url":"https://api.github.com/users/yrashk/following{/other_user}","gists_url":"https://api.github.com/users/yrashk/gists{/gist_id}","starred_url":"https://api.github.com/users/yrashk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yrashk/subscriptions","organizations_url":"https://api.github.com/users/yrashk/orgs","repos_url":"https://api.github.com/users/yrashk/repos","events_url":"https://api.github.com/users/yrashk/events{/privacy}","received_events_url":"https://api.github.com/users/yrashk/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-01-20T05:14:53Z","updated_at":"2015-01-20T08:05:00Z","closed_at":"2015-01-20T08:05:00Z","body":"I have some fairly complex queries, and I often have to resort to queries. For simple ones, having something like `fragment(\"column = ?\", ^value)` is sufficient, however, once the joins get into the picture, there is always a chance for column ambiguity (especially if you're joining with the same table). Ecto generates queries with table aliases like `f0`. Is there any way we can get this in fragments?"}}