Skip to content

Commit d5c4221

Browse files
committed
Filter generated values correctly
1 parent 5473d2e commit d5c4221

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cardano-db/src/Cardano/Db/Insert.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -499,7 +499,7 @@ insertManyUnique vtype constraintExists constraintName records = do
499499
]
500500

501501
values :: [PersistValue]
502-
values = concatMap (map toPersistValue . toPersistFields) records
502+
values = concatMap Util.mkInsertValues records
503503

504504
conflictQuery :: Text
505505
conflictQuery =

0 commit comments

Comments
 (0)