You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
phughk
changed the title
Bug: RELATE statement with either a non existing IN / OUT edge should through an error and not make the insertion
Feature: Allow dynamic creation of both nodes and edges in relate statements
May 13, 2024
Original: Bug: RELATE statement with either a non existing IN / OUT edge should through an error and not make the insertion
Describe the bug
Running a RELATE statement with non existing nodes create a record in the edge and node tables, and do not throw.
Steps to reproduce
run the following queries :
will yield a result :
Expected behaviour
The relate statement should check that both edges exists before inserting in the relation table, and throw if one of the record is not found.
SurrealDB version
surrealDB 1.4 running in a docker container on Mac OS
Is there an existing issue for this?
Code of Conduct
The text was updated successfully, but these errors were encountered: