Hi syshex,

I'm using *OrientDB 2.0 RC2*.


Sorry, I've updated my first post, removing the :

set($Post.out('HAS_COMMENT').message)

in the select projection (it didn't have any sense).

Here's the query result in *OrientDB Studio* : 

{
    "result": [
        {
            "@type": "d",
            "@rid": "#-2:0",
            "@version": 0,
            "name": "Monica",
            "first": "my url",
            "$Post": [
                "My Post for Category  #17:1",
                "My 2nd Post for Category #17:1"
            ]
        }
    ],
    "notification": "Query executed in 0.015 sec. Returned 1 record(s)"
}

That's exactly what I expect : *all* Posts wrote by 14:0 belonging to 17:1 
category.

But I've got a problem with this query syntax, it does'nt work in my 
program, using *oriento 1.0.0 *(node.js driver). But that's another issue ;)


I just wanted to know how people write this kind of request (get Vertex 
datas + filtered or ordered outgoing Vertices datas, in a single query).


I've seen your query in  
https://groups.google.com/forum/#!topic/orient-database/fbZEimTyJjM.

I'm going to answer you on your post.

-- 

--- 
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/d/optout.

Reply via email to