orientdb 中的填充查询
Populated query in orientdb
我有两个 类 table
和 recordset
。 Table 有一个链接集 recordset.
当我查询任何特定的 table、
select * from table where @rid=#17:0
我收到包含带有 ID 的记录集数组的响应
"recordsets": [
"#20:0"
],
但我希望结果作为对象数组(扩展对象)。有什么办法可以实现吗?
您可以使用
SELECT from table where @rid=#17:0 FETCHPLAN *:-1
我有两个 类 table
和 recordset
。 Table 有一个链接集 recordset.
当我查询任何特定的 table、
select * from table where @rid=#17:0
我收到包含带有 ID 的记录集数组的响应
"recordsets": [
"#20:0"
],
但我希望结果作为对象数组(扩展对象)。有什么办法可以实现吗?
您可以使用
SELECT from table where @rid=#17:0 FETCHPLAN *:-1