{"action":"created","issue":{"url":"https://api.github.com/repos/envms/fluentpdo/issues/224","repository_url":"https://api.github.com/repos/envms/fluentpdo","labels_url":"https://api.github.com/repos/envms/fluentpdo/issues/224/labels{/name}","comments_url":"https://api.github.com/repos/envms/fluentpdo/issues/224/comments","events_url":"https://api.github.com/repos/envms/fluentpdo/issues/224/events","html_url":"https://github.com/envms/fluentpdo/issues/224","id":281865396,"number":224,"title":"onDuplicateKeyUpdate","user":{"login":"darkalchemy","id":30264374,"avatar_url":"https://avatars0.githubusercontent.com/u/30264374?v=4","gravatar_id":"","url":"https://api.github.com/users/darkalchemy","html_url":"https://github.com/darkalchemy","followers_url":"https://api.github.com/users/darkalchemy/followers","following_url":"https://api.github.com/users/darkalchemy/following{/other_user}","gists_url":"https://api.github.com/users/darkalchemy/gists{/gist_id}","starred_url":"https://api.github.com/users/darkalchemy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkalchemy/subscriptions","organizations_url":"https://api.github.com/users/darkalchemy/orgs","repos_url":"https://api.github.com/users/darkalchemy/repos","events_url":"https://api.github.com/users/darkalchemy/events{/privacy}","received_events_url":"https://api.github.com/users/darkalchemy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-12-13T19:20:04Z","updated_at":"2017-12-17T01:08:21Z","closed_at":null,"author_association":"NONE","body":"I have been trying to use onDuplicateKeyUpdate with insertInto and I get this error:\r\n\r\n```\r\nWarning: PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number in vendor/lichtner/fluentpdo/FluentPDO/BaseQuery.php on line 151\r\n```\r\n\r\nBefore, fluentpdo, I have always created the update portion as column = VALUES(column) but with fluentpdo, it must be an array, [column => $value].\r\n\r\nWhat is the proper way to do this in fluentpdo?\r\n\r\nThank you"},"comment":{"url":"https://api.github.com/repos/envms/fluentpdo/issues/comments/352223898","html_url":"https://github.com/envms/fluentpdo/issues/224#issuecomment-352223898","issue_url":"https://api.github.com/repos/envms/fluentpdo/issues/224","id":352223898,"user":{"login":"darkalchemy","id":30264374,"avatar_url":"https://avatars0.githubusercontent.com/u/30264374?v=4","gravatar_id":"","url":"https://api.github.com/users/darkalchemy","html_url":"https://github.com/darkalchemy","followers_url":"https://api.github.com/users/darkalchemy/followers","following_url":"https://api.github.com/users/darkalchemy/following{/other_user}","gists_url":"https://api.github.com/users/darkalchemy/gists{/gist_id}","starred_url":"https://api.github.com/users/darkalchemy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/darkalchemy/subscriptions","organizations_url":"https://api.github.com/users/darkalchemy/orgs","repos_url":"https://api.github.com/users/darkalchemy/repos","events_url":"https://api.github.com/users/darkalchemy/events{/privacy}","received_events_url":"https://api.github.com/users/darkalchemy/received_events","type":"User","site_admin":false},"created_at":"2017-12-17T01:08:21Z","updated_at":"2017-12-17T01:08:21Z","author_association":"NONE","body":"I have updated to dev-master. It appears that the composer structure has changed. Now this:\r\n```\r\n$fluent = new FluentPDO($pdo);\r\n```\r\ncan't find the class. The readme stills shows it this way. What do I need to change to get it to load?\r\n\r\nThanks"}}
{"actor":{"display_login":"darkalchemy"}}