Hi,

when you execute this query in the browse in Visual Studio

select *, out('Owns').mail as emails, out('Owns').@rid as rid from User
simply click on spits ROW to see the result in JSON format (look the screen)


<https://lh3.googleusercontent.com/-G26Q3HkDgkY/VdGaZcge1MI/AAAAAAAAAHs/W6bZEyFo5Lo/s1600/Immagine.png>


If you click on ROW this return some like this:

{
    "result": [
        {
            "@type": "d",
            "@rid": "#12:0",
            "@version": 2,
            "@class": "User",
            "name": "Giulia",
            "out_Owns": [
                "#14:0"
            ],
            "emails": [
                "[email protected]"
            ],
            "rid": [
                "#13:0"
            ],
            "@fieldTypes": "out_Owns=g,rid=z"
        },
        {
            "@type": "d",
            "@rid": "#12:1",
            "@version": 2,
            "@class": "User",
            "name": "Alessandro",
            "out_Owns": [
                "#14:1"
            ],
            "emails": [
                "[email protected]"
            ],
            "rid": [
                "#13:1"
            ],
            "@fieldTypes": "out_Owns=g,rid=z"
        },
        {
            "@type": "d",
            "@rid": "#12:2",
            "@version": 2,
            "@class": "User",
            "name": "Luigi",
            "out_Owns": [
                "#14:2"
            ],
            "emails": [
                "[email protected]"
            ],
            "rid": [
                "#13:2"
            ],
            "@fieldTypes": "out_Owns=g,rid=z"
        }
    ],
    "notification": "Query executed in 0.016 sec. Returned 3 record(s)"
}


Regards,

Giulia



-- 

--- 
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