[orientdb] Re: How to create linked Records in a transaction with PHPOrient?

2015-01-06 Thread Zane Rockenbaugh
I've tried as many different permutations of the above as I can think of. - I trued to change the order of the 'attach' and and command creation; shuffling seems to have no effect (as expected). - I also tried nested transactions, which do seem like they're supported in some cases, but don't see

[orientdb] How to create linked Records in a transaction with PHPOrient?

2015-01-06 Thread Zane Rockenbaugh
Using PHPOrient to connect to OrientDB, I'm trying to create a Profile record and then a User record that refers to it in the same transaction. The problem is that the temporary record ID (RID) doesn't get updated for the link. Code snippet: $client = new PhpOrient('localhost', 2424); $db_