Skip to content

Commit 1ded578

Browse files
authored
Nit: Fix InsertBuilder .Into() argument name (#375)
1 parent d8eb51b commit 1ded578

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

insert.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,8 @@ func (b InsertBuilder) Options(options ...string) InsertBuilder {
242242
}
243243

244244
// Into sets the INTO clause of the query.
245-
func (b InsertBuilder) Into(from string) InsertBuilder {
246-
return builder.Set(b, "Into", from).(InsertBuilder)
245+
func (b InsertBuilder) Into(into string) InsertBuilder {
246+
return builder.Set(b, "Into", into).(InsertBuilder)
247247
}
248248

249249
// Columns adds insert columns to the query.

0 commit comments

Comments
 (0)