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
Apologies for the rather tardy response. We're just starting to actively use this package internally and haven't paid the repo much attention till recently.
When you say "Scan" do you mean that you'd like it to implement sql.Scanner and driver.Valuer? It would be tricky to get this right across all database drivers, since both interfaces rely on conversion to and from some other supported type, such as float64, which risks losing precision in the translation process. The simplest approach is to go via strings, but that might not work in all cases. It might with SQLite, for instance, which has quite a fluid type system, but others might not be so forgiving.
If you're still interested in this, let us know and we'll look into it.
thanks for this package, does it possible to add database/sql support to allow to Scan to decimal value and store it inside db?
The text was updated successfully, but these errors were encountered: