orientechnologies/PhpOrient

Create Edge with recordCreate

marchrius opened this issue · 0 comments

There is a way to create an edge with recordCreate ?

I don't see anything about this.

I'm mean somenthing like this:

$record = (new Record())->setOClass('E')->setRid(new ID(109))->setOData([
    'out' => new ID($ridAsStringItem),
    'in' => new ID($ridAsStringBrand),
    'created_at' => time()
]);

$result = $instance->recordCreate($record);