在orientdb中填充查询

时间:2016-02-17 13:35:43

标签: orientdb

我有两个班级tablerecordset。表的链接集为recordset.当我查询任何特定的表时,

select * from table where @rid=#17:0

我得到包含id的记录集数组的响应

"recordsets": [
            "#20:0"
        ],

但是我希望结果就像一个对象数组(扩展的对象)。有没有办法实现这个目标?

1 个答案:

答案 0 :(得分:1)

您可以使用

SELECT from table where @rid=#17:0 FETCHPLAN *:-1