{"action":"opened","issue":{"url":"https://api.github.com/repos/vasa-c/go-db/issues/68","repository_url":"https://api.github.com/repos/vasa-c/go-db","labels_url":"https://api.github.com/repos/vasa-c/go-db/issues/68/labels{/name}","comments_url":"https://api.github.com/repos/vasa-c/go-db/issues/68/comments","events_url":"https://api.github.com/repos/vasa-c/go-db/issues/68/events","html_url":"https://github.com/vasa-c/go-db/issues/68","id":343567649,"node_id":"MDU6SXNzdWUzNDM1Njc2NDk=","number":68,"title":"WHERE при использовании JOIN","user":{"login":"2618094","id":9998200,"node_id":"MDQ6VXNlcjk5OTgyMDA=","avatar_url":"https://avatars3.githubusercontent.com/u/9998200?v=4","gravatar_id":"","url":"https://api.github.com/users/2618094","html_url":"https://github.com/2618094","followers_url":"https://api.github.com/users/2618094/followers","following_url":"https://api.github.com/users/2618094/following{/other_user}","gists_url":"https://api.github.com/users/2618094/gists{/gist_id}","starred_url":"https://api.github.com/users/2618094/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/2618094/subscriptions","organizations_url":"https://api.github.com/users/2618094/orgs","repos_url":"https://api.github.com/users/2618094/repos","events_url":"https://api.github.com/users/2618094/events{/privacy}","received_events_url":"https://api.github.com/users/2618094/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-23T10:03:17Z","updated_at":"2018-07-23T10:03:17Z","closed_at":null,"author_association":"NONE","body":"Всем дртатути!\r\nПример запроса:\r\n```\r\n$where = [\r\n'id' => 120\r\n];\r\nSELECT * FROM `tbl1` LEFT JOIN `tbl2` ON (`tbl1`.id` = `tbl2`.`id_from_`tbl1`) WHERE ?where\r\n```\r\nЛогично, что выдает ошибку column id is ambiguous\r\nЕсли делать 'tbl1.id' => 120 - то парсит как `tbl1.id1` - опять же ошибка\r\nЕсли делать 'tbl1`.`id' => 120 - то парсит как ```tbl1``.``id1```\r\n\r\nВ общем хотелось бы иметь возможность обращаться в where к конкретным таблицам"}}
{"actor":{"display_login":"2618094"}}