{"action":"created","issue":{"url":"https://api.github.com/repos/mmmries/sqlitex/issues/17","labels_url":"https://api.github.com/repos/mmmries/sqlitex/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/mmmries/sqlitex/issues/17/comments","events_url":"https://api.github.com/repos/mmmries/sqlitex/issues/17/events","html_url":"https://github.com/mmmries/sqlitex/pull/17","id":81253532,"number":17,"title":"Fix bugs found by Ecto integration tests","user":{"login":"jazzyb","id":52593,"avatar_url":"https://avatars.githubusercontent.com/u/52593?v=3","gravatar_id":"","url":"https://api.github.com/users/jazzyb","html_url":"https://github.com/jazzyb","followers_url":"https://api.github.com/users/jazzyb/followers","following_url":"https://api.github.com/users/jazzyb/following{/other_user}","gists_url":"https://api.github.com/users/jazzyb/gists{/gist_id}","starred_url":"https://api.github.com/users/jazzyb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jazzyb/subscriptions","organizations_url":"https://api.github.com/users/jazzyb/orgs","repos_url":"https://api.github.com/users/jazzyb/repos","events_url":"https://api.github.com/users/jazzyb/events{/privacy}","received_events_url":"https://api.github.com/users/jazzyb/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-05-27T03:28:55Z","updated_at":"2015-05-29T16:54:31Z","closed_at":"2015-05-29T16:19:17Z","pull_request":{"url":"https://api.github.com/repos/mmmries/sqlitex/pulls/17","html_url":"https://github.com/mmmries/sqlitex/pull/17","diff_url":"https://github.com/mmmries/sqlitex/pull/17.diff","patch_url":"https://github.com/mmmries/sqlitex/pull/17.patch"},"body":"There are quite a few changes in this patch, but they all addresses only two major issues:\r\n\r\n1. Errors from `:esqlite3.prepare/2` and `:esqlite3.bind/2` are now passed to the calling function instead of throwing match errors.\r\n2. Conversions to and from Elixir/Erlang types and SQLite values.\r\n\r\nSee the new test cases for usage.  Let me know what you think.\r\n\r\n(One thing to note is the conversion from datetime tuples of the form `{{year, month, day}, {hour, min, sec, usecs}}` to strings.  We already handled the Erlang datetime tuple, but the Ecto code likes to make use of one with microseconds.  I don't know if this type of tuple is used anywhere else in the Elixir/Erlang world.  If it seems too Ecto specific, then I can put it in the Sqlite.Ecto code instead.  To keep these datetime types consistent with the Erlang datetime, I truncate the microseconds value.)"},"comment":{"url":"https://api.github.com/repos/mmmries/sqlitex/issues/comments/106869908","html_url":"https://github.com/mmmries/sqlitex/pull/17#issuecomment-106869908","issue_url":"https://api.github.com/repos/mmmries/sqlitex/issues/17","id":106869908,"user":{"login":"mmmries","id":80008,"avatar_url":"https://avatars.githubusercontent.com/u/80008?v=3","gravatar_id":"","url":"https://api.github.com/users/mmmries","html_url":"https://github.com/mmmries","followers_url":"https://api.github.com/users/mmmries/followers","following_url":"https://api.github.com/users/mmmries/following{/other_user}","gists_url":"https://api.github.com/users/mmmries/gists{/gist_id}","starred_url":"https://api.github.com/users/mmmries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mmmries/subscriptions","organizations_url":"https://api.github.com/users/mmmries/orgs","repos_url":"https://api.github.com/users/mmmries/repos","events_url":"https://api.github.com/users/mmmries/events{/privacy}","received_events_url":"https://api.github.com/users/mmmries/received_events","type":"User","site_admin":false},"created_at":"2015-05-29T16:54:31Z","updated_at":"2015-05-29T16:54:31Z","body":"okay I added you, give it a try again"}}