From 86bc8f669d57644b06b779ce3a84ee47b2df636e Mon Sep 17 00:00:00 2001 From: Samuel Nelson Date: Thu, 17 Apr 2014 15:34:29 -0600 Subject: [PATCH] More clarification --- dialect.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dialect.go b/dialect.go index e6a8caeb..419e5c9c 100644 --- a/dialect.go +++ b/dialect.go @@ -64,9 +64,9 @@ type IntegerAutoIncrInserter interface { // for uuids, integers for serials, etc). type TargetedAutoIncrInserter interface { // InsertAutoIncrToTarget runs an insert operation and assigns the - // resulting automatically generated primary key directly to the - // passed in target, which should be a pointer to the primary key - // field. + // automatically generated primary key directly to the passed in + // target. The target should be a pointer to the primary key + // field of the value being inserted. InsertAutoIncrToTarget(exec SqlExecutor, insertSql string, target interface{}, params ...interface{}) error }