{"action":"created","issue":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/11693","repository_url":"https://api.github.com/repos/yiisoft/yii2","labels_url":"https://api.github.com/repos/yiisoft/yii2/issues/11693/labels{/name}","comments_url":"https://api.github.com/repos/yiisoft/yii2/issues/11693/comments","events_url":"https://api.github.com/repos/yiisoft/yii2/issues/11693/events","html_url":"https://github.com/yiisoft/yii2/issues/11693","id":158507264,"number":11693,"title":"batchInsert with empty rows","user":{"login":"tut4ever","id":1710072,"avatar_url":"https://avatars.githubusercontent.com/u/1710072?v=3","gravatar_id":"","url":"https://api.github.com/users/tut4ever","html_url":"https://github.com/tut4ever","followers_url":"https://api.github.com/users/tut4ever/followers","following_url":"https://api.github.com/users/tut4ever/following{/other_user}","gists_url":"https://api.github.com/users/tut4ever/gists{/gist_id}","starred_url":"https://api.github.com/users/tut4ever/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tut4ever/subscriptions","organizations_url":"https://api.github.com/users/tut4ever/orgs","repos_url":"https://api.github.com/users/tut4ever/repos","events_url":"https://api.github.com/users/tut4ever/events{/privacy}","received_events_url":"https://api.github.com/users/tut4ever/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/yiisoft/yii2/labels/feature:db","name":"feature:db","color":"bfd4f2"},{"url":"https://api.github.com/repos/yiisoft/yii2/labels/status:to%20be%20verified","name":"status:to be verified","color":"fbca04"}],"state":"open","locked":false,"assignee":{"login":"samdark","id":47294,"avatar_url":"https://avatars.githubusercontent.com/u/47294?v=3","gravatar_id":"","url":"https://api.github.com/users/samdark","html_url":"https://github.com/samdark","followers_url":"https://api.github.com/users/samdark/followers","following_url":"https://api.github.com/users/samdark/following{/other_user}","gists_url":"https://api.github.com/users/samdark/gists{/gist_id}","starred_url":"https://api.github.com/users/samdark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samdark/subscriptions","organizations_url":"https://api.github.com/users/samdark/orgs","repos_url":"https://api.github.com/users/samdark/repos","events_url":"https://api.github.com/users/samdark/events{/privacy}","received_events_url":"https://api.github.com/users/samdark/received_events","type":"User","site_admin":false},"milestone":null,"comments":5,"created_at":"2016-06-04T14:32:42Z","updated_at":"2016-06-07T18:48:27Z","closed_at":null,"body":"### What steps will reproduce the problem?\r\nYii::$app->db->createCommand()\r\n                ->batchInsert('{{%note_tag}}',\r\n                    ['note_id', 'tag_id'], [])\r\n                ->execute();\r\n\r\n### What is the expected result?\r\nSyntax error\r\n\r\n### What do you get instead?\r\n\r\n### Additional info\r\n\r\n| Q                | A\r\n| ---------------- | ---\r\n| Yii version      | 2.0.6\r\n| PHP version      | 5.6.19\r\n| Operating system | Windows 8.1 Enterprise N Edition\r\n"},"comment":{"url":"https://api.github.com/repos/yiisoft/yii2/issues/comments/224377275","html_url":"https://github.com/yiisoft/yii2/issues/11693#issuecomment-224377275","issue_url":"https://api.github.com/repos/yiisoft/yii2/issues/11693","id":224377275,"user":{"login":"rob006","id":5972388,"avatar_url":"https://avatars.githubusercontent.com/u/5972388?v=3","gravatar_id":"","url":"https://api.github.com/users/rob006","html_url":"https://github.com/rob006","followers_url":"https://api.github.com/users/rob006/followers","following_url":"https://api.github.com/users/rob006/following{/other_user}","gists_url":"https://api.github.com/users/rob006/gists{/gist_id}","starred_url":"https://api.github.com/users/rob006/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rob006/subscriptions","organizations_url":"https://api.github.com/users/rob006/orgs","repos_url":"https://api.github.com/users/rob006/repos","events_url":"https://api.github.com/users/rob006/events{/privacy}","received_events_url":"https://api.github.com/users/rob006/received_events","type":"User","site_admin":false},"created_at":"2016-06-07T18:48:27Z","updated_at":"2016-06-07T18:48:27Z","body":"But it will slow down every proper query. "}}
{"actor":{"display_login":"rob006"}}