{"action":"created","issue":{"url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/248","repository_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model","labels_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/248/comments","events_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/248/events","html_url":"https://github.com/avenirer/CodeIgniter-MY_Model/pull/248","id":241490764,"number":248,"title":"Fix for the array to object conversion when using the binary data type","user":{"login":"Martyn-Cleroux","id":943453,"avatar_url":"https://avatars2.githubusercontent.com/u/943453?v=4","gravatar_id":"","url":"https://api.github.com/users/Martyn-Cleroux","html_url":"https://github.com/Martyn-Cleroux","followers_url":"https://api.github.com/users/Martyn-Cleroux/followers","following_url":"https://api.github.com/users/Martyn-Cleroux/following{/other_user}","gists_url":"https://api.github.com/users/Martyn-Cleroux/gists{/gist_id}","starred_url":"https://api.github.com/users/Martyn-Cleroux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martyn-Cleroux/subscriptions","organizations_url":"https://api.github.com/users/Martyn-Cleroux/orgs","repos_url":"https://api.github.com/users/Martyn-Cleroux/repos","events_url":"https://api.github.com/users/Martyn-Cleroux/events{/privacy}","received_events_url":"https://api.github.com/users/Martyn-Cleroux/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-09T00:49:13Z","updated_at":"2017-07-30T19:44:36Z","closed_at":"2017-07-30T19:44:36Z","pull_request":{"url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/pulls/248","html_url":"https://github.com/avenirer/CodeIgniter-MY_Model/pull/248","diff_url":"https://github.com/avenirer/CodeIgniter-MY_Model/pull/248.diff","patch_url":"https://github.com/avenirer/CodeIgniter-MY_Model/pull/248.patch"},"body":"Using any table with a binary column, if you try to select a row, it'll always return `NULL`."},"comment":{"url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/comments/318924614","html_url":"https://github.com/avenirer/CodeIgniter-MY_Model/pull/248#issuecomment-318924614","issue_url":"https://api.github.com/repos/avenirer/CodeIgniter-MY_Model/issues/248","id":318924614,"user":{"login":"Martyn-Cleroux","id":943453,"avatar_url":"https://avatars2.githubusercontent.com/u/943453?v=4","gravatar_id":"","url":"https://api.github.com/users/Martyn-Cleroux","html_url":"https://github.com/Martyn-Cleroux","followers_url":"https://api.github.com/users/Martyn-Cleroux/followers","following_url":"https://api.github.com/users/Martyn-Cleroux/following{/other_user}","gists_url":"https://api.github.com/users/Martyn-Cleroux/gists{/gist_id}","starred_url":"https://api.github.com/users/Martyn-Cleroux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martyn-Cleroux/subscriptions","organizations_url":"https://api.github.com/users/Martyn-Cleroux/orgs","repos_url":"https://api.github.com/users/Martyn-Cleroux/repos","events_url":"https://api.github.com/users/Martyn-Cleroux/events{/privacy}","received_events_url":"https://api.github.com/users/Martyn-Cleroux/received_events","type":"User","site_admin":false},"created_at":"2017-07-30T19:44:36Z","updated_at":"2017-07-30T19:44:36Z","body":"Using this table (with at least one row):\r\n```\r\nCREATE TABLE IF NOT EXISTS `token` (\r\n  `id` int(11) NOT NULL AUTO_INCREMENT,\r\n  `hash` binary(64) NOT NULL,\r\n  `account_id` int(11) DEFAULT NULL,\r\n  `created_at` datetime NOT NULL,\r\n  `updated_at` datetime NOT NULL,\r\n  PRIMARY KEY (`id`),\r\n) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4;\r\n```\r\n\r\nWhen calling `get` or `get_all`, it always returns `NULL`:\r\n`$tokens = $this->token_model->get_all();`"}}
{"actor":{"display_login":"Martyn-Cleroux"}}