Create a node of a specific type using neography

I successfully use neography pearl with one small problem. I cannot specify the type of node I want. The API I use:

@neo.create_node({doors: 4, brand: 'ford', model: 'fiesta'})

I want to be able to make an equivalent:

CREATE (c:Car {doors: 4, brand: 'ford', model: 'fiesta'})

Looking at the source code , this is not possible, at least not through create_node. Thank you in advance!

+4
source share

Source: https://habr.com/ru/post/1599441/


All Articles