-
Notifications
You must be signed in to change notification settings - Fork 302
Missing functions getKeyBy and upsertBy_ #1613
Open
Description
getBy and upsertBy load the entire row even when that is sometimes not necessary.
Often I just want to upsert without loading the result.
I would use repsert but that takes a key instead of a uniqueness constraint.
getKeyBy would let me implement upsertBy_ myself.
Alternatively, uniqueToFilters :: Unique record -> [Filter record] would let me do it as well.
CC @parsonsmatt
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.