You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reverse engineering SQLite column types is tricky due to it's dynamic typing. The column type hold no real meaning.
Today, we apply the same type affinity rules that SQLite does to the specified column type name to put it into one of the four primitive types (which map to long, double, string & byte[]).
I think we could do a much better job by sampling the data to determine a suitable CLR type. This would allow us to reverse engineer types that need to be coerced like decimal, DateTime and Guid. We could also provide a more natural numeric type like int if the data fits.