{"action":"created","issue":{"url":"https://api.github.com/repos/knq/xo/issues/16","repository_url":"https://api.github.com/repos/knq/xo","labels_url":"https://api.github.com/repos/knq/xo/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/knq/xo/issues/16/comments","events_url":"https://api.github.com/repos/knq/xo/issues/16/events","html_url":"https://github.com/knq/xo/issues/16","id":154940140,"number":16,"title":"error: sql: Scan error on column index 0: unsupported driver -> Scan pair: <nil> -> *string","user":{"login":"whitebook","id":669415,"avatar_url":"https://avatars.githubusercontent.com/u/669415?v=3","gravatar_id":"","url":"https://api.github.com/users/whitebook","html_url":"https://github.com/whitebook","followers_url":"https://api.github.com/users/whitebook/followers","following_url":"https://api.github.com/users/whitebook/following{/other_user}","gists_url":"https://api.github.com/users/whitebook/gists{/gist_id}","starred_url":"https://api.github.com/users/whitebook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitebook/subscriptions","organizations_url":"https://api.github.com/users/whitebook/orgs","repos_url":"https://api.github.com/users/whitebook/repos","events_url":"https://api.github.com/users/whitebook/events{/privacy}","received_events_url":"https://api.github.com/users/whitebook/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-05-16T00:04:22Z","updated_at":"2016-05-16T01:08:29Z","closed_at":null,"body":"Using MSSQL Driver from https://github.com/denisenkom/go-mssqldb.git\r\n\r\nGetting this trying this from CLI.\r\n\r\nxo mssql://user:pass@host:1433/db -o models -N -M -B -T Match << ENDSQL\r\nselect * from match ;\r\nENDSQL\r\n\r\nerror: sql: Scan error on column index 0: unsupported driver -> Scan pair: <nil> -> *string\r\n\r\nIs there another driver I should be using?\r\n\r\nThanks.\r\n"},"comment":{"url":"https://api.github.com/repos/knq/xo/issues/comments/219327700","html_url":"https://github.com/knq/xo/issues/16#issuecomment-219327700","issue_url":"https://api.github.com/repos/knq/xo/issues/16","id":219327700,"user":{"login":"kenshaw","id":2274859,"avatar_url":"https://avatars.githubusercontent.com/u/2274859?v=3","gravatar_id":"","url":"https://api.github.com/users/kenshaw","html_url":"https://github.com/kenshaw","followers_url":"https://api.github.com/users/kenshaw/followers","following_url":"https://api.github.com/users/kenshaw/following{/other_user}","gists_url":"https://api.github.com/users/kenshaw/gists{/gist_id}","starred_url":"https://api.github.com/users/kenshaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kenshaw/subscriptions","organizations_url":"https://api.github.com/users/kenshaw/orgs","repos_url":"https://api.github.com/users/kenshaw/repos","events_url":"https://api.github.com/users/kenshaw/events{/privacy}","received_events_url":"https://api.github.com/users/kenshaw/received_events","type":"User","site_admin":false},"created_at":"2016-05-16T01:08:29Z","updated_at":"2016-05-16T01:08:29Z","body":"I see what the issue is. I need to tweak the underlying SQL that xo uses to retrieve index information from MS SQL. I should have it fixed shortly. Sorry for the problem. Unfortunately, I work primarily in an environment that uses Oracle/PostgreSQL and because MS hasn't released their SQL server for Linux yet, it gets the least amount of attention. Hopefully that changes with SQL Server '16 for Linux."}}