[ngrams] implement ngrams term_id to further simplify the patches json
[gargantext.git] / src / Gargantext / Database / Query / Table / NodeNodeNgrams.hs
index 9de4e82e0bf27098a27096743f217fb8f4debce9..2dcfc29a1c128f226415c7a11e3aeb24030e03d8 100644 (file)
@@ -41,7 +41,7 @@ insertNodeNodeNgrams = insertNodeNodeNgramsW
                                              (pgNodeId n2)
                                              (sqlInt4   ng)
                                              (pgNgramsTypeId nt)
-                                             (pgDouble w)
+                                             (sqlDouble w)
                                                   )
 
 insertNodeNodeNgramsW :: [NodeNodeNgramsWrite] -> Cmd err Int
@@ -54,3 +54,6 @@ insertNodeNodeNgramsW nnnw =
                               , iOnConflict = (Just DoNothing)
       })
 
+
+
+