Closed suessflorian closed 2 years ago
Hey. I just upgraded the dependencies to support github.com/mattn/go-sqlite3@v1.14.8
here: https://github.com/georgysavva/scany/pull/67
Could you please install the latest scany version from master and try your thing again?
To install latest scany from master:
go get github.com/georgysavva/scany@HEAD
That fixed it, thanks @georgysavva 👍
Awesome project!
Unfortunately I'm getting restricted with what sqlite features I can use when introducing scany into my project.
migration.sql
main.go
go mod file here would look like
Running this I get a
scany: query one result row: near \"RETURNING\": syntax error
error, that is complaining about theRETURNING
syntax in sqlite.I try to fix this by upgrading
go-sqlite3
driver to v1.14, which in turn supports sqlite v3.35.0 viago get
...And it just seems to remove scanny altogether :/
I'm sure it's because of the sentence right below https://github.com/mattn/go-sqlite3, but wanting to track this down so I can use scany over sqlite3 with the
RETURNING
syntax.