{"action":"created","issue":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/5725","repository_url":"https://api.github.com/repos/sequelize/sequelize","labels_url":"https://api.github.com/repos/sequelize/sequelize/issues/5725/labels{/name}","comments_url":"https://api.github.com/repos/sequelize/sequelize/issues/5725/comments","events_url":"https://api.github.com/repos/sequelize/sequelize/issues/5725/events","html_url":"https://github.com/sequelize/sequelize/pull/5725","id":147253419,"number":5725,"title":"Bug: Binding dates via bind errored","user":{"login":"kjones1876","id":965033,"avatar_url":"https://avatars.githubusercontent.com/u/965033?v=3","gravatar_id":"","url":"https://api.github.com/users/kjones1876","html_url":"https://github.com/kjones1876","followers_url":"https://api.github.com/users/kjones1876/followers","following_url":"https://api.github.com/users/kjones1876/following{/other_user}","gists_url":"https://api.github.com/users/kjones1876/gists{/gist_id}","starred_url":"https://api.github.com/users/kjones1876/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kjones1876/subscriptions","organizations_url":"https://api.github.com/users/kjones1876/orgs","repos_url":"https://api.github.com/users/kjones1876/repos","events_url":"https://api.github.com/users/kjones1876/events{/privacy}","received_events_url":"https://api.github.com/users/kjones1876/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-10T19:01:28Z","updated_at":"2016-04-14T19:45:55Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sequelize/sequelize/pulls/5725","html_url":"https://github.com/sequelize/sequelize/pull/5725","diff_url":"https://github.com/sequelize/sequelize/pull/5725.diff","patch_url":"https://github.com/sequelize/sequelize/pull/5725.patch"},"body":"_Thanks for wanting to fix something on Sequelize - we already love you long time! Please delete this text and fill in the template below. If unsure about something, just do as best as you're able._\r\n\r\n_If your PR only contains changes to documentation, you may skip the template below._\r\n\r\n### Pull Request check-list\r\n\r\n_Please make sure to review and check all of these items:_\r\n\r\n- [ ] Does `npm run test` or `npm run test-DIALECT` pass with this change (including linting)?\r\n- [ ] Does your issue contain a link to existing issue (Closes #[issue]) or a description of the issue you are solving?\r\n- [ ] Have you added new tests to prevent regressions?\r\n- [ ] Is a documentation update included (if this change modifies existing APIs, or introduces new ones)?\r\n- [ ] Have you added an entry under `Future` in the changelog?\r\n\r\n_NOTE: these things are not required to open a PR and can be done afterwards / while the PR is open._\r\n\r\n### Description of change\r\n\r\nBug: Binding dates via bind errored\r\nIssue: SqlString.escape function params had changed, the usage of this function had not\r\nFixed by: Updating the usage of SqlString.escape to follow the new paramater order"},"comment":{"url":"https://api.github.com/repos/sequelize/sequelize/issues/comments/210118470","html_url":"https://github.com/sequelize/sequelize/pull/5725#issuecomment-210118470","issue_url":"https://api.github.com/repos/sequelize/sequelize/issues/5725","id":210118470,"user":{"login":"janmeier","id":1210224,"avatar_url":"https://avatars.githubusercontent.com/u/1210224?v=3","gravatar_id":"","url":"https://api.github.com/users/janmeier","html_url":"https://github.com/janmeier","followers_url":"https://api.github.com/users/janmeier/followers","following_url":"https://api.github.com/users/janmeier/following{/other_user}","gists_url":"https://api.github.com/users/janmeier/gists{/gist_id}","starred_url":"https://api.github.com/users/janmeier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/janmeier/subscriptions","organizations_url":"https://api.github.com/users/janmeier/orgs","repos_url":"https://api.github.com/users/janmeier/repos","events_url":"https://api.github.com/users/janmeier/events{/privacy}","received_events_url":"https://api.github.com/users/janmeier/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T19:45:55Z","updated_at":"2016-04-14T19:45:55Z","body":" `SqlString.escape` does not take a second boolean parameter https://github.com/sequelize/sequelize/blob/master/lib/sql-string.js#L15"}}