Skip to content

Commit

Permalink
docs: fix bulkInsertOrUpdate method name (#239)
Browse files Browse the repository at this point in the history
  • Loading branch information
ForbesLindesay authored Mar 21, 2022
1 parent da72713 commit 8149428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pg-typed.md
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ async function setUserFavoriteColors(
favorite_color: string;
}[],
) {
await tables.users(db).bulkInsert({
await tables.users(db).bulkInsertOrUpdate({
columnsToInsert: [`email`, `favorite_color`],
columnsThatConflict: [`email`],
columnsToUpdate: [`favorite_color`],
Expand Down

0 comments on commit 8149428

Please sign in to comment.