Create CIP #9
Open
Create CIP #9
Conversation
Added semicolons to EBNF formula.
* Remove caveats section. * Add example of path creation and mention suggestion of removal of old way.
Closed
cip/CIP2015-10-12-CREATE.adoc
Outdated
|
||
== Proposal | ||
|
||
`CREATE` is used to create new nodes and relationships into the graph, as well as set initial labels, type, and properties on the new entities. |
petraselmer
Oct 27, 2015
Contributor
"create new nodes and relationships into the graph" -> "add new nodes and relationships to the graph"
"create new nodes and relationships into the graph" -> "add new nodes and relationships to the graph"
in-rel = "<-[", [identifier], type, [property], "]-" ; | ||
label = ":", identifier ; | ||
type = label ; | ||
property = "{", param | {identifier, ":", literal | param}, "}" ; |
thobe
Nov 9, 2015
Contributor
the param
production already contains the "{"
and "}"
, and should this be on the "top level" of the property
production.
the param
production already contains the "{"
and "}"
, and should this be on the "top level" of the property
production.
Mats-SX
Nov 9, 2015
Member
I do not understand what you mean.
I do not understand what you mean.
---- | ||
create = "CREATE", {pattern}, [{",", pattern}] ; | ||
pattern = node-pattern | rel-pattern ; | ||
node-pattern = "(", [identifier], [{label}], [property], ")" ; |
thobe
Nov 9, 2015
Contributor
What do the curly brackets around {label}
mean here?
What do the curly brackets around {label}
mean here?
Mats-SX
Nov 9, 2015
Member
Repetition, ie many possible labels.
Repetition, ie many possible labels.
petraselmer
Sep 27, 2016
Contributor
Contingent on the enhanced pattern semantics idea.
Contingent on the enhanced pattern semantics idea.
The title needs to be changed: "CIP2015-10-12 - CREATE" -> "CIP2015-10-12 CREATE" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Something went wrong with the old PR when moving repo. Please kill the old one when all relevant comments have been moved over.