Closed ekkis closed 8 years ago
ekkis, I found the following lines in the documentation......... "Also importantly, there's no more notion of persistence or updating (e.g. no more save() method) in this v2 API. If you want to update data and persist it back to Neo4j, you do that the same way as you would without these objects. This driver is not an ORM/OGM. Those problems must be solved separately." I guess they removed db.createNode form version2. We have to open a session and save node to database through cypher queries. Like they said this is not meant to be used as OGM. Hope this helps
I'm sorry I missed this issue, @ekkis! And thank you @aravindkarnam for chiming in.
@ekkis: your issue is simply that you're looking at the old v1 docs for the basic example. The v2 docs are here:
https://github.com/thingdom/node-neo4j/tree/v2#readme
This is my fault though: I haven't merged the v2 branch yet, so the default GitHub page is still showing v1 docs. I added the note at the top though, but I guess that wasn't obvious either?
Hope this helps, and apologies again for the delay!
yes, it took me a bit to figure out that there were other branches I should have been looking at
so I did this:
I'm running against community-2.2.5 with 2.0.0.-RC2 of the plugin. what am I missing?