Skip to content

Edge Creation - Second Mandatory Property Value Not Being Taken #1437

Description

@ironluca

Similar to & Relates to: Issue 1436
The second mandatory parameter supplied to edge creation statement is not recognized and an exception is generated, however 3rd parameter is recognized

CREATE EDGE TYPE ZEdg IF NOT EXISTS;
CREATE PROPERTY ZEdg.a IF NOT EXISTS STRING (MANDATORY TRUE);
CREATE PROPERTY ZEdg.b IF NOT EXISTS STRING (MANDATORY TRUE);
CREATE PROPERTY ZEdg.c IF NOT EXISTS STRING (MANDATORY TRUE);

//ERROR: The property 'b' is mandatory, but not found on record: @ZEdg[a=aVal,c=cVal,null=null]
CREATE EDGE ZEdg FROM #1249:0 TO #1249:1 SET a='aVal', b='bVal', c='cVal';

//ERROR: The property 'c' is mandatory, but not found on record: @ZEdg[a=aVal,b=bVal,null=null]
CREATE EDGE ZEdg FROM #1249:0 TO #1249:1 SET a='aVal',c='cVal', b='bVal';

Server side trace
image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions