Skip to content

Commit

Permalink
More clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
nelsam authored and James Cooper committed May 16, 2014
1 parent 059256e commit 86bc8f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dialect.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 86bc8f6

Please sign in to comment.