Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InsertSelect onConflict doesn't compile #62

Open
NPCRUS opened this issue Jan 11, 2025 · 0 comments
Open

InsertSelect onConflict doesn't compile #62

NPCRUS opened this issue Jan 11, 2025 · 0 comments

Comments

@NPCRUS
Copy link
Contributor

NPCRUS commented Jan 11, 2025

while fixing #50 i found out that onConflict for InsertSelect actually doesn't compile with:

 found   : scalasql.core.Expr[Int]
 required: scalasql.query.Column[_]

reproduce:

Buyer.insert.select(
  identity,
  Buyer.select.filter(_.id === 1)
).onConflictIgnore(_.id)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant