Releases: LUSHDigital/modelgen
Releases · LUSHDigital/modelgen
Fixed issue with select *
Merge pull request #34 from LUSHDigital/feature/select-fields Fixed issue with insecure select *
Prevent table name from colliding with builtins
1.4.3 prevent builtin name collisions
Fixed a few issues.
Queryer
interface'sBeginTx
method meant that everything (including transactions) had to implementBeginTx
, which they don't.NullInt64
scanning - like the other aliases - reused the pointer during scans and we needed to reset theValid
field to ensure DB-nulls didn't result in {Valid: true, Int64: 0} => 0.
Fixed issue with null RawJSON
Merge pull request #28 from LUSHDigital/fix/rawjson-marshaljson Fixed issue whereby empty RawJSON objects would cause MarshalJSON to fail.
1.4.0
Use Queryer
interface in transactions
Fix missing error check in x_helpers.go
Merge pull request #26 from LUSHDigital/danmrichards-unmarshal danmrichards-unmarshal
Re-pack after 1.3.6
Forgot to run packr after 1.3.6
Fixed nulltime unmarshalling into zero time UTC
Merge pull request #25 from LUSHDigital/feature/nulltime-fix fixed nulltime unmarshalling into zero time utc
Resolved unsafe pointer usage in the Load function
1.3.5 Resolved unsafe pointer usage in the Load function. Evidenced by inco…
Fix version command
1.3.4 remove un-necessary database.Close()