2016-08-24 47 views
1

我使用OrientDB studio创建来自某个类型(NodeType1)的顶点。 我用OrientDB工作室创建29个顶点,当我运行:orientdb select不返回所有顶点

select count(*) from NodeType1 

我获得了29条记录。

然而,当我运行:

select * from NodeType1 

我得到的只有20记录列表。

有没有人遇到过这个?

回答

7

您只能看到20条记录,因为OrientDB默认显示20条记录。如果你想看到更多,你可以这样写:

select * from nodetype1 limit -1 

这样,您就可以看到所有记录。

在这里你可以为你的查询中设置的可见的记录数: