Skip to content

Commit

Permalink
Fixed Insert onDuplicateKeyUpdate type parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
takapi327 committed Dec 23, 2024
1 parent 24acc8a commit 25d1b0d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ sealed trait Insert[A] extends Command:
* .onDuplicateKeyUpdate(_.name)
* }}}
*/
def onDuplicateKeyUpdate[C](columns: A => Column[C]): Insert.DuplicateKeyUpdate[A]
def onDuplicateKeyUpdate[B](columns: A => Column[B]): Insert.DuplicateKeyUpdate[A]

/**
* Methods for constructing INSERT ... ON DUPLICATE KEY UPDATE statements.
Expand Down

0 comments on commit 25d1b0d

Please sign in to comment.