 )
 
 
-(comment defn neo-id [x]
-  (comment  go
-      (get (first (<! (neo4j "START x = node(1) RETURN ID(x)" {} ) "x")) "ID(x)")
-  )
-)
 
-(comment go
-    (.log js/console (str  (first (<! (neo-id nil)))))
 
- )
+
+
 
 
 (defn create-neo4j-record [properties]
   (go
       (log
           (let [
-                 rr (<! (neo4j "CREATE (n {values}) return n" {:values properties}  ) )
+                 rr (<! (neo4j "CREATE (n {values}) return n, ID(n)" {:values properties}  ) )
                 ]
                (str
                    (merge

)




(go

                         rr
                         "n")
                       {
                            :id (js/parseInt (get (first rr) "ID(n)"))
                        }
                     )

