haskell-beam / haskell-beam/beam

Pg full combination between anyConflict and conflict set all isn't accepted by postgres

Open
#362 1 comment 1 reaction 1 assignee Claimed by @kmicklas View on GitHub
bug
Dominant language
Haskell
Stars
635
Forks
193
PR merge metrics
No merged PRs in 30d

Description

These functions combined: Pg.onConflict Pg.anyConflict Pg.onConflictSetAll

produce the following runtime error:

"ON CONFLICT DO UPDATE requires inference specification or constraint name"

I would expect beam to give me a type error.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.