OrientDB SQL

32 views
Skip to first unread message

Hans-Jürgen Otto

unread,
Nov 22, 2016, 6:19:20 AM11/22/16
to OrientDB
Hey guys,

I use a modified version of Teva-Gremlin (https://github.com/effyteva/CSharpLibraries/tree/master/Teva.Common.Data.Gremlin) with Gremlin-Server (3.2.3) that is connected to OrientDB (with OrientDB-Gremlin https://github.com/orientechnologies/orientdb-gremlin).
I've created a graph and the creation went off normal.
So i wanted to get some Data in OrientStudio. First I used Gremlin and i got all vertices that i wanted. Then i used this SQL-Like query-language from OrientDB and i got only a part of the vertices that i wanted.
For instance:
I used "g.V()" and got all 221 vertices.
Then i used SELECT FROM V and got only 20 vertices.
However if I count all vertices with SELECT COUNT(*) FROM V I get the right number 221.
Am I missing something?

Regards

Luigi Dell'Aquila

unread,
Nov 22, 2016, 6:21:28 AM11/22/16
to orient-...@googlegroups.com
Hi,

by default OrientDB Studio Graph panel displays only 20 records. You can override this behavior adding a "limit" at the end of the query, eg.

SELECT FROM V LIMIT -1

Thanks

Luigi

--

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

Hans-Jürgen Otto

unread,
Nov 22, 2016, 6:31:01 AM11/22/16
to OrientDB
Hi Luigi,

thank you! That was the problem.

Regards,

Hans.
To unsubscribe from this group and stop receiving emails from it, send an email to orient-databa...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages