Replies: 3 comments
-
🤖 Hello @wey-gu, From your question, it seems like you're having trouble with the syntax for inserting an edge in ngql. The error message you're seeing typically indicates that the arguments provided to a function or method do not match the expected parameters. Based on the ngql commands you've provided, it seems like you're trying to insert an edge between two vertices. The correct syntax for inserting an edge in ngql is as follows:
In your case, the command should look something like this:
Please replace 'value' with the actual value you want to insert. Also, please ensure that the vertices 'abc' and 'column_xyz' exist before you try to insert an edge between them. If they don't exist, you'll need to create them first using the I hope this helps! If you have any other questions, feel free to ask. SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
-
Sorry looks like a iPython-ngql bug triggerred, you could mitigate this via
I'll fix this later in wey-gu/jupyter_nebulagraph#5 Thanks! |
Beta Was this translation helpful? Give feedback.
-
could be fully closed via wey-gu/jupyter_nebulagraph#10 |
Beta Was this translation helpful? Give feedback.
-
Question Validation
Question
@wey-gu
Question
%ngql INSERT VERTEX table(name) VALUES 'abc':('abc');
%ngql INSERT VERTEX column(name) VALUES 'column_xyz':('xyz');
%ngql CREATE EDGE IF NOT EXISTS has_column(has_column STRING);
%ngql INSERT EDGE has_column() VALUES "abc"->"column_xyz": ();
UsageError: unrecognized arguments: ->"column_xyz": ();
I had tried with multiple syntaxes can you please provide me a solution related to this.
Beta Was this translation helpful? Give feedback.
All reactions