This PR adds the scan.go file. This contains all the functions to take the values returned by the database and insert them into the structs mentioned in the output expressions.
It also fixes a bug the named input parameters. These previously had been implemented but with ? in the query rather than @name. This bug was not found in testing because it was not possible to test with a complete database at that point.
This PR adds the
scan.go
file. This contains all the functions to take the values returned by the database and insert them into the structs mentioned in the output expressions.It also fixes a bug the named input parameters. These previously had been implemented but with
?
in the query rather than@name
. This bug was not found in testing because it was not possible to test with a complete database at that point.