2
0

Merge pull request #285 from meowgorithm/master

Add missing `pgx.Identifier` to `CopyFrom` example
This commit is contained in:
Jack Christensen
2017-07-04 10:48:14 -05:00
committed by GitHub
+1 -1
View File
@@ -225,7 +225,7 @@ implement CopyFromSource to avoid buffering the entire data set in memory.
}
copyCount, err := conn.CopyFrom(
"people",
pgx.Identifier{"people"},
[]string{"first_name", "last_name", "age"},
pgx.CopyFromRows(rows),
)