{"action":"created","issue":{"url":"https://api.github.com/repos/elixir-lang/ecto/issues/969","labels_url":"https://api.github.com/repos/elixir-lang/ecto/issues/969/labels{/name}","comments_url":"https://api.github.com/repos/elixir-lang/ecto/issues/969/comments","events_url":"https://api.github.com/repos/elixir-lang/ecto/issues/969/events","html_url":"https://github.com/elixir-lang/ecto/issues/969","id":106817988,"number":969,"title":"Add Repo.all_by as a mirror to Repo.get_by","user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elixir-lang/ecto/labels/Kind:Enhancement","name":"Kind:Enhancement","color":"207de5"},{"url":"https://api.github.com/repos/elixir-lang/ecto/labels/Level:Intermediate","name":"Level:Intermediate","color":"fad8c7"},{"url":"https://api.github.com/repos/elixir-lang/ecto/labels/Note:Discussion","name":"Note:Discussion","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-09-16T17:10:04Z","updated_at":"2015-09-17T00:03:41Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/elixir-lang/ecto/issues/comments/140929480","html_url":"https://github.com/elixir-lang/ecto/issues/969#issuecomment-140929480","issue_url":"https://api.github.com/repos/elixir-lang/ecto/issues/969","id":140929480,"user":{"login":"parkerl","id":450084,"avatar_url":"https://avatars.githubusercontent.com/u/450084?v=3","gravatar_id":"","url":"https://api.github.com/users/parkerl","html_url":"https://github.com/parkerl","followers_url":"https://api.github.com/users/parkerl/followers","following_url":"https://api.github.com/users/parkerl/following{/other_user}","gists_url":"https://api.github.com/users/parkerl/gists{/gist_id}","starred_url":"https://api.github.com/users/parkerl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parkerl/subscriptions","organizations_url":"https://api.github.com/users/parkerl/orgs","repos_url":"https://api.github.com/users/parkerl/repos","events_url":"https://api.github.com/users/parkerl/events{/privacy}","received_events_url":"https://api.github.com/users/parkerl/received_events","type":"User","site_admin":false},"created_at":"2015-09-17T00:03:41Z","updated_at":"2015-09-17T00:03:41Z","body":":heart: this! \r\n\r\nNames are hard.\r\n\r\n```\r\nProfile |> matching(attrs) |> Repo.all\r\nProfile |> filter_for(attrs) |> Repo.all\r\nProfile |> filter_by(attrs) |> Repo.all\r\nProfile |> query_for(attrs) |> Repo.all\r\n```\r\n\r\neh? "}}