Commit a077ef1f authored by Alexandre Delanoë's avatar Alexandre Delanoë

[NodeNgrams] Insertion fix (do nothing on conflict).

parent 7408a02c
...@@ -104,7 +104,7 @@ insertNodeNgrams = insertNodeNgramW ...@@ -104,7 +104,7 @@ insertNodeNgrams = insertNodeNgramW
insertNodeNgramW :: [NodeNgramWrite] -> Cmd Int insertNodeNgramW :: [NodeNgramWrite] -> Cmd Int
insertNodeNgramW nns = insertNodeNgramW nns =
mkCmd $ \c -> fromIntegral mkCmd $ \c -> fromIntegral
<$> runInsertMany c nodeNgramTable nns <$> runInsertManyOnConflictDoNothing c nodeNgramTable nns
type NgramsText = Text type NgramsText = Text
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment