[orientdb] [Announcement] OrientDB and TinkerPop 3

2016-11-08 Thread Luca Garulli
Hi guys,

I'm glad to announce that the OrientDB Team has started supporting
officially the TinkerPop 3 standard in the "develop" branch, namely
OrientDB v3.0.

Michael Pollmeier (@mpollmeier), the author of the already excellent
OrientDB-Gremlin driver, transferred it under the OrientDB umbrella:

https://github.com/orientechnologies/orientdb-gremlin

Together with Michael, also Marvin Froeder (@velo) joined the team as
committer of the project. They will work, together with the OrientDB team,
to make this driver ready for OrientDB v3.0. From the OrientDB side, the
owner of this project is Enrico Risa (@maggiolo00).

Guys, we're looking for new contributors. The roadmap is still open. So far
the most important things are:

   1. Better support for indexes
   2. Usage of the new GraphAPI in the OrientDB core 3.0
   3. Better coverage of TinkerPop 3 features

By transferring the original project the entire history and issues are
preserved. if you are already using it, please reset the master source of
the git repository to it.


*Is this an amazing news?*


Best Regards,

Luca Garulli
Founder & CEO
OrientDB LTD 

Want to share your opinion about OrientDB?
Rate & review us at Gartner's Software Review


-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[orientdb] Recover all embedded records in any class

2016-11-08 Thread Academia Learning Centro de inglés y de formación
Hello, I wanted to ask a question regarding the inscribed objects.

Is there a way to retrieve all the objects of a class, for example class 
City and retrieve all the City records, including those inscribed in other 
records?


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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[orientdb] Re: Recover all embedded records in any class

2016-11-08 Thread user . work111
Hi,

can you explain it better? 
can you give me an example of your structure?

Thx in advance.

Regards,
Michela

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[orientdb] Re: Recover all embedded records in any class

2016-11-08 Thread Academia Learning Centro de inglés y de formación
Hi, thank you for answering me.
An example:

{
"result": [
{
"@type": "d",
"@rid": "#21:0",
"@version": 1,
"@class": "Curso",
"City": {
"@type": "d",
"@version": 0,
"@class": "City",
"name": "Valenzuela"
},
"name": "curso 1"
},
{
"@type": "d",
"@rid": "#25:0",
"@version": 1,
"@class": "City",
"name": "bolaños"
},
{
"@type": "d",
"@rid": "#26:0",
"@version": 1,
"@class": "City",
"name": "almagro"
},
{
"@type": "d",
"@rid": "#25:0",
"@version": 1,
"@class": "Country",
"City": {
"@type": "d",
"@version": 0,
"@class": "City",
"name": "Madrid"
},
"name": "curso 1"
},
]

}

I want to get all the cities, in total 4.
But I do not know what classes are embedded
I need something like:

Select * from City

Select * from V where @class = 'City'


And get the 4 cities (2 records and 2 embedded)

thanks





El martes, 8 de noviembre de 2016, 13:00:47 (UTC+1), user.w...@gmail.com 
escribió:
>
> Hi,
>
> can you explain it better? 
> can you give me an example of your structure?
>
> Thx in advance.
>
> Regards,
> Michela
>

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[orientdb] Re: Recover all embedded records in any class

2016-11-08 Thread alessandrorota04
Hi,
you could use this query

select expand($c)
let $a = ( select expand(City) from v),
$b = ( select from city ),
$c = unionAll($a,$b)

Best regards,
Alessandro

-- 

--- 
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 orient-database+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.