We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b7cf41 commit 891d4a0Copy full SHA for 891d4a0
internal/dinosql/gen.go
@@ -552,7 +552,9 @@ func (r Result) goInnerType(col core.Column) string {
552
return "sql.NullFloat64" // TODO: Change to sql.NullFloat32 after updating the go.mod file
553
554
case "pg_catalog.numeric":
555
- // The Go standard library does not have a decimal type. lib/pq returns these types as ???
+ // Since the Go standard library does not have a decimal type, lib/pq
556
+ // returns numerics as strings.
557
+ //
558
// https://github.com/lib/pq/issues/648
559
if notNull {
560
return "string"
0 commit comments