Version 4 is identical to version 3 and just adds support for Go modules.
- Remove quoting of table and column names introduced in 2.0.0
(as a consequence, the
MapSQL,ReturnSQL, andQuotemethods are gone) - Introduce dialects (replacing DBMS)
Version 3 is not compatible with version 1 and 2.
- Add support for
RETURNINGclause - Quote column names
- Add MapSQL function which does not quote the argument
- Fix scanning into nil interface
By quoting column names, 2.0.0 may break programs using version 1. Queries
with Map("COUNT(*)", &count) will not work as expected due to quoting
the argument. Use the new MapSQL function in this case: MapSQL("COUNT(*)", &count)
- Surround where conditions in parenthesis
- Initial release