Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
The most relevant change for this release is the behaviour of Save()
: it will attempt to update a record if and only if the record exists, otherwise it will attempt to create a record.
See: What's new in v4
Fixes problems with MSSQL adapter and LastInsertId.
Fixes #474, an error in fetchRows()
was ignored
Fixes a problem with InsertReturning()
and tables with varchar/string primary keys.