or how many will be queried.
This is not an efficient query if Data contains millions of edges.
It would be easier to build using the Blueprints Graph API.
-Colin
On Friday, March 6, 2015 at 3:39:12 PM UTC-6, Red-0ne wrote:
Ok here is an example:
CREATE DATABASE remote:localhost/testdb root
You can do it as per function documentation
http://www.orientechnologies.com/docs/2.0/orientdb.wiki/OrientDB-REST.html#function
but you have to *url encode* your serialized object.
In order to pass:
{x:1,y:2}
you have to send:
.
Sorry, if I'm being dense. :-)
-Colin
On Thursday, March 5, 2015 at 4:05:44 PM UTC-6, Red-0ne wrote:
Sorry for being misleading. A, B, C are vertices of themselves and
created through CREATE VERTEX command. I just tried to represent them by
their @rids in the above query.
On Thursday, 5
but not.
:-)
Are A, B, C always unique 'tags' as in properties of vertices that denote
some kind of type? Or, are A, B, C types of vertices themselves?
On Thursday, March 5, 2015 at 5:37:37 AM UTC-6, Red-0ne wrote:
Actually vertices A, B, C... are kind of *tags*, and Vi are *data*. My
I have a database where vertices *Vi* are linked to vertex *A* or *B* or
*both* via edge *'hasAspect*'.
I want to get all the vertices that are linked to both *A* and *B*. The
only way I found is (having A and B being @rids):
SELECT FROM V WHERE out('hasAspect') CONTAINS (@rid = A) AND
Hello,
We are trying to have a *Member* class that extends *OUser*. This *Member
*class
should also extends *V*. Additionally, *V* have to extend *ORestricted*. A
*member* ORole is needed to.
For that we've done the following (using console.sh):
DROP DATABASE remote:localhost/sometestdb root
UTC+1, Red-0ne wrote:
Hello,
We are trying to have a *Member* class that extends *OUser*. This *Member
*class should also extends *V*. Additionally, *V* have to extend
*ORestricted*. A *member* ORole is needed to.
For that we've done the following (using console.sh):
DROP DATABASE