{"action":"created","issue":{"url":"https://api.github.com/repos/stephencelis/SQLite.swift/issues/331","labels_url":"https://api.github.com/repos/stephencelis/SQLite.swift/issues/331/labels{/name}","comments_url":"https://api.github.com/repos/stephencelis/SQLite.swift/issues/331/comments","events_url":"https://api.github.com/repos/stephencelis/SQLite.swift/issues/331/events","html_url":"https://github.com/stephencelis/SQLite.swift/issues/331","id":127375229,"number":331,"title":"Numeric Type Column","user":{"login":"doop24","id":16771708,"avatar_url":"https://avatars.githubusercontent.com/u/16771708?v=3","gravatar_id":"","url":"https://api.github.com/users/doop24","html_url":"https://github.com/doop24","followers_url":"https://api.github.com/users/doop24/followers","following_url":"https://api.github.com/users/doop24/following{/other_user}","gists_url":"https://api.github.com/users/doop24/gists{/gist_id}","starred_url":"https://api.github.com/users/doop24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doop24/subscriptions","organizations_url":"https://api.github.com/users/doop24/orgs","repos_url":"https://api.github.com/users/doop24/repos","events_url":"https://api.github.com/users/doop24/events{/privacy}","received_events_url":"https://api.github.com/users/doop24/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-19T06:21:51Z","updated_at":"2016-01-21T09:03:12Z","closed_at":null,"body":"update my table.\r\n``` swift\r\nlet x = Expression<Double>(\"x\")\r\n\r\nlet db = try! Connection(dbFilePath)\r\nlet tbl = Table(\"test\")\r\n\r\nlet dX: Double = 2000\r\ntry! db.run(tel.update(x <- dX))\r\n```\r\nupdate is success.\r\n\r\nbut select updated table is failure\r\n``` swift\r\nfor row in try! db.prepare(tbl.select(x)) {\r\n    print(row[x])\r\n}\r\n```\r\nerror occurred.\r\n\r\n> fatal error: unexpectedly found nil while unwrapping an Optional value\r\n```\r\nQuery.swift  line: 1025\r\n        guard let value = values[idx] as? V.Datatype else { return nil }\r\n```\r\n\r\nplease help!\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/stephencelis/SQLite.swift/issues/comments/173505379","html_url":"https://github.com/stephencelis/SQLite.swift/issues/331#issuecomment-173505379","issue_url":"https://api.github.com/repos/stephencelis/SQLite.swift/issues/331","id":173505379,"user":{"login":"doop24","id":16771708,"avatar_url":"https://avatars.githubusercontent.com/u/16771708?v=3","gravatar_id":"","url":"https://api.github.com/users/doop24","html_url":"https://github.com/doop24","followers_url":"https://api.github.com/users/doop24/followers","following_url":"https://api.github.com/users/doop24/following{/other_user}","gists_url":"https://api.github.com/users/doop24/gists{/gist_id}","starred_url":"https://api.github.com/users/doop24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doop24/subscriptions","organizations_url":"https://api.github.com/users/doop24/orgs","repos_url":"https://api.github.com/users/doop24/repos","events_url":"https://api.github.com/users/doop24/events{/privacy}","received_events_url":"https://api.github.com/users/doop24/received_events","type":"User","site_admin":false},"created_at":"2016-01-21T09:03:12Z","updated_at":"2016-01-21T09:03:12Z","body":"Thanks, mikemee.\r\nI'm looking forward to fixing this issue!"}}