diff --git a/database/array_contains.go b/database/array_contains.go
index ce59b9e7b7bc10768f4e8be7267d7303fe7b4658_ZGF0YWJhc2UvYXJyYXlfY29udGFpbnMuZ28=..88cf4ccfe86f10bd51f8b659695a3d61b297e971_ZGF0YWJhc2UvYXJyYXlfY29udGFpbnMuZ28= 100644
--- a/database/array_contains.go
+++ b/database/array_contains.go
@@ -11,7 +11,7 @@
 
 type ArrayContains map[string]interface{}
 
-func (ac ArrayContains) ToSQL() (sql string, args []interface{}, err error) {
+func (ac ArrayContains) ToSql() (sql string, args []interface{}, err error) {
 	if len(ac) == 0 {
 		// Empty Sql{} evaluates to true.
 		sql = "(1=1)"
diff --git a/database/sql_helper.go b/database/sql_helper.go
index ce59b9e7b7bc10768f4e8be7267d7303fe7b4658_ZGF0YWJhc2Uvc3FsX2hlbHBlci5nbw==..88cf4ccfe86f10bd51f8b659695a3d61b297e971_ZGF0YWJhc2Uvc3FsX2hlbHBlci5nbw== 100644
--- a/database/sql_helper.go
+++ b/database/sql_helper.go
@@ -105,7 +105,7 @@
 	return nil
 }
 
-// Upsert upserts a Mapped into the db
+// UpsertColumns upserts a Mapped into the db using only the given columns as update source
 func (h *SQLHelper) UpsertColumns(insertColumns, updateColumns []string, instances ...Mapped) error {
 	for _, instance := range instances {
 		query := SQLUpsertColumns(instance, insertColumns, updateColumns)