Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd support for Numeric to SQLite #185
Comments
sgrif
added
the
sqlite
label
Feb 3, 2016
sgrif
changed the title from
[SQLite] Add support for Numeric
to
Add support for Numeric
Feb 3, 2016
sgrif
changed the title from
Add support for Numeric
to
Add support for Numeric to SQLite
Feb 3, 2016
This comment has been minimized.
|
Upon further investigation, SQLite appears to have no visible difference in behavior between numeric and double precision floats. If anybody knows this to be incorrect, please let me know. |
sgrif
closed this
Feb 19, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
sgrif commentedFeb 3, 2016
As far as I can tell, there is no "internal" representation of this that we can deserialize to (like we did with
PgNumeric). As such, we should probably have this deserialize to a string, as that's the only type that we can reasonably implementFromSqlfor without losing precision. We can addToSqlimpls forf32andf64and/or the various integer types if we think it's useful enough.