SQLite DateTime handling in SQLProvider
问题 How to use DateTime with SQLite via the SQLProvider type-provider? SQLite doesn't really have a date and time datatype (see Data types) and stores dates as text. I can pass a date string and query it, and get back a string. So this works, where Date1 in table3 was stored as a string: query { for r in table3 do select (r.Date1) } |> Seq.toList val it : string list = ["2016/06/09 0:00:00"; "2016/06/05 0:00:00"; "2016/06/04 0:00:00"; "2016/06/12 0:00:00"; "2016/06/10 0:00:00"; "2016/06/06 0:00