[orientdb] Re: Get Rid using server side script

2015-08-22 Thread David de Sousa Seixas
and it returned the actual rid, so that is a workaround at least. On Thursday, August 20, 2015 at 10:23:17 AM UTC-7, David de Sousa Seixas wrote: I'm stuck with the same problem. domingo, 15 de Fevereiro de 2015 às 03:30:04 UTC, Yong Zhong escreveu: Hi Guys I am wondering is possible

Re: [orientdb] Re: ofunction returns abstract record rid instead of actual rid when creating vertex

2015-08-20 Thread David de Sousa Seixas
Hi, I tried the same with version 2.1rc5 db = orient.getGraph(); var rid = db.command('sql','create vertex v'); db.commit; return rid; but it won't work. I still get back the abstract rid. Any ideas? segunda-feira, 1 de Setembro de 2014 às 18:56:30 UTC+1, Andrey Lomakin escreveu: I see,

[orientdb] Re: Is there a way to retrieve the latest created vertex in a javascript function?

2015-08-20 Thread David de Sousa Seixas
Hi Jenica, I'm stuck with the same problem. I run a javascript server-side function with db.command('sql','create vertex v') and I can't come up with a way to get the rid of that vertex. Have you found a way? cheers sábado, 25 de Julho de 2015 às 06:24:53 UTC+1, Jenica escreveu: I am new

[orientdb] alter superclass, property conflict

2015-07-27 Thread David de Sousa Seixas
Hi I'm using version 2.1rc5. My schema is the following: ORestricted (adds _allow fields) - E - activates (adds weight property) Then isrequiredfor, neededfor and belongsto all inherit from activates. As a consequence they all get four _allow properties and one weight (float) property. Now

[orientdb] record level security: can't browse, grant and revoke won't work

2015-07-13 Thread David de Sousa Seixas
I'm using version 2.0.3 Can't browse a class with a specific user despite the fact that I granted authorization to their role. I'm working with record level security, so both V and E inherit from ORestricted. I've created a class Concept which (not directly) inherits from V. The OUser

[orientdb] Re: record level security: can't browse, grant and revoke won't work

2015-07-13 Thread David de Sousa Seixas
Well that's embarrassing. Thanks! segunda-feira, 13 de Julho de 2015 às 16:54:13 UTC+1, user.w...@gmail.com escreveu: Hi David, probably the problem is that the permision settings database.class.Concept: *5 *means UpdateCreate. For a readupdate combination you need to set

Re: [orientdb] Re: select all vertices with no incoming edges

2015-06-11 Thread David de Sousa Seixas
giugno 2015 13:51:03 UTC+2, David de Sousa Seixas ha scritto: hi I'm trying to get all vertices that have no incoming edges. How do I do that? thanks -- --- You received this message because you are subscribed to the Google Groups OrientDB group. To unsubscribe from

[orientdb] select all vertices with no incoming edges

2015-06-03 Thread David de Sousa Seixas
hi I'm trying to get all vertices that have no incoming edges. How do I do that? thanks -- --- 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

[orientdb] Re: User dependent edges

2015-05-12 Thread David de Sousa Seixas
escreveu: I'm not sure what you mean. But if you want to create an edge with some properties you should avoid Lightweight edges. http://orientdb.com/docs/last/Lightweight-Edges.html http://orientdb.com/docs/last/SQL-Create-Edge.html Matus On Monday, 11 May 2015 23:02:13 UTC+2, David de Sousa

[orientdb] User dependent edges

2015-05-11 Thread David de Sousa Seixas
Hi I need to make edges that contain two values (each): one which is the same for all users and one which is different for each one. How can I do that? cheers -- --- You received this message because you are subscribed to the Google Groups OrientDB group. To unsubscribe from this group and