Also do not use raw properties when you work with edge/vertex relations use graphdb functions outE(), out(), in() and so on...
On Sat, Feb 8, 2014 at 9:54 AM, Andrey Lomakin <[email protected]>wrote: > Hi, > It is not a bug. > When you create edge without properties, you did not create document just > a link between 2 vertexes. > > If you wish to return edge run following query: > select outE(' followed_by') from #9:7 > > > > > > On Sat, Feb 8, 2014 at 6:04 AM, Giraldo Rosales <[email protected]> wrote: > >> Looking at the documentation ( >> https://github.com/orientechnologies/orientdb/wiki/SQL-Create-Edge), >> tried to create an edge in OrientDB Studio using the latest from the >> develop git branch. The database in the example below is >> the GratefulDeadConcerts database. >> >> *Ran the following to create a new edge:* >> CREATE EDGE followed_by FROM #9:7 TO #9:8 >> >> *Ran the following to get the newly created edge:* >> select * from followed_by WHERE out=#9:7 >> >> The select query returns no results but the records, #9:7 and #9:8 both >> show an in/out property (in_followed_by and out_followed_by) had been >> created. Why is there no edge record created? >> >> Thanks, >> Giraldo >> >> -- >> >> --- >> You received this message because you are subscribed to the Google Groups >> "OrientDB" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > > > -- > Best regards, > Andrey Lomakin. > > Orient Technologies > the Company behind OrientDB > > -- Best regards, Andrey Lomakin. Orient Technologies the Company behind OrientDB -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
