Hi
I need help for create a nodes with conditional property.
In this case i have a complex javascript array "similar" to:
[
{
type: 'type 1',
name: 'name 1'
},
{
type: 'type 2',
name: 'name 2'
},
,
{
type: 'type 3',
...
Hi.
How could I write a custom mutation resolver, for a "Login", comparing a password with bcrypt with the query password.
I have seen several ways but I would like to know which is the best.
Some in the resolver put the cypher query and in others th...
Hello
I have been searching but cannot find a satisfactory answer on this.
Y have:
type Country {
countryId: ID
name: String!
shortName: String!
companies: [Company] @relation(name: "LOCATED_IN", direction: "IN")
}
type Company {
companyId...
I tried this and work:
WITH [{
type: 'option'
},
{
type: 'comboBox'
}] AS data
CREATE (form:Form)
SET form.id = randomUUID()
CREATE (section:FormSection)
MERGE (form)-[:HAS_SECTION]->(section)
SET section.id = randomUUID()
FOREACH (comp...
Ty...
im working in javascript, node js, express, apollo server and graphql.
In the front (ui) with react, i have a Mutation for create use the big object for iterate all data and create nodes and relationships.
session.writeTransaction(
async trans...