Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add output cypher component #118

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

add output cypher component #118

wants to merge 1 commit into from

Conversation

jem-davies
Copy link
Collaborator

No description provided.

Signed-off-by: Jem Davies <jemsot@gmail.com>
@jem-davies jem-davies mentioned this pull request Sep 17, 2024
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this should be removed

Comment on lines +19 to +21
service.NewBoolField("noAuth").
Description("No Authentication currently implemented, defaults to true.").
Default(true),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be removed for now since it doesn't look like it's being used?

values[k] = v.String(msgPart)
}

_, err := neo4j.ExecuteQuery(ctx, cyp.driver,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this output be a query or an INSERT statement of some kind? I'd imagine aSELECT (or neo4j equivalent) shouldn't be processed as output

if err != nil {
return nil, err
}
query, err := conf.FieldString("query")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a thought but I wonder if this should be sanitised in some way to prevent some query injection

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants