{"action":"created","issue":{"url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/184","labels_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/184/comments","events_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/184/events","html_url":"https://github.com/rails-sqlserver/tiny_tds/issues/184","id":54963696,"number":184,"title":"ApplicationIntent:Readonly in tiny_tds?","user":{"login":"SebastianGarin","id":10623417,"avatar_url":"https://avatars.githubusercontent.com/u/10623417?v=3","gravatar_id":"","url":"https://api.github.com/users/SebastianGarin","html_url":"https://github.com/SebastianGarin","followers_url":"https://api.github.com/users/SebastianGarin/followers","following_url":"https://api.github.com/users/SebastianGarin/following{/other_user}","gists_url":"https://api.github.com/users/SebastianGarin/gists{/gist_id}","starred_url":"https://api.github.com/users/SebastianGarin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SebastianGarin/subscriptions","organizations_url":"https://api.github.com/users/SebastianGarin/orgs","repos_url":"https://api.github.com/users/SebastianGarin/repos","events_url":"https://api.github.com/users/SebastianGarin/events{/privacy}","received_events_url":"https://api.github.com/users/SebastianGarin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-01-21T01:02:30Z","updated_at":"2015-02-06T03:24:56Z","closed_at":null,"body":"Is this possible? I've tried several ways of adding this string to the connection and it isn't documented.\r\nI'm trying to connect to MSSQL high availability group. \r\nAny clue/idea around this will be greatly appreciated.\r\nThank you"},"comment":{"url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/comments/73177272","html_url":"https://github.com/rails-sqlserver/tiny_tds/issues/184#issuecomment-73177272","issue_url":"https://api.github.com/repos/rails-sqlserver/tiny_tds/issues/184","id":73177272,"user":{"login":"metaskills","id":2381,"avatar_url":"https://avatars.githubusercontent.com/u/2381?v=3","gravatar_id":"","url":"https://api.github.com/users/metaskills","html_url":"https://github.com/metaskills","followers_url":"https://api.github.com/users/metaskills/followers","following_url":"https://api.github.com/users/metaskills/following{/other_user}","gists_url":"https://api.github.com/users/metaskills/gists{/gist_id}","starred_url":"https://api.github.com/users/metaskills/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metaskills/subscriptions","organizations_url":"https://api.github.com/users/metaskills/orgs","repos_url":"https://api.github.com/users/metaskills/repos","events_url":"https://api.github.com/users/metaskills/events{/privacy}","received_events_url":"https://api.github.com/users/metaskills/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T03:24:56Z","updated_at":"2015-02-06T03:24:56Z","body":"No, the idea is that we have to enhance the [TinyTDS connect](https://github.com/rails-sqlserver/tiny_tds/blob/master/ext/tiny_tds/client.c#L294) implementation to accept a new `read_only` config option. Much like we did for azure. That said, we have to find out if there is a DBLIB interface for even doing this. I will have to read over the FreeTDS source and that DIFF to find out if that is the case.\r\n\r\nAlso, the commit message does indicate that this may not even work? The words `SHOULD ignore` kind of hit me front and center."}}