From 402bac0742c007bccb7cba1ec220a5c4f0b63c60 Mon Sep 17 00:00:00 2001 From: zxysilent Date: Mon, 13 Mar 2023 10:39:49 +0800 Subject: [PATCH] doc ifAddColUpdate --- internal/statements/update.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/statements/update.go b/internal/statements/update.go index 9f50adc6..cff06269 100644 --- a/internal/statements/update.go +++ b/internal/statements/update.go @@ -18,6 +18,7 @@ import ( "xorm.io/xorm/schemas" ) +// ifAddColUpdate add includePrimaryKey func (statement *Statement) ifAddColUpdate(col *schemas.Column, includeVersion, includeUpdated, includeNil, includeAutoIncr, includePrimaryKey, update bool) (bool, error) { columnMap := statement.ColumnMap