【发布时间】:2023-01-05 13:03:20
【问题描述】:
我正在使用 sql developer 和 ORDS 来启用前端来获取数据。在通过 REST 服务返回的数据中,我得到类似 "hasMore":false,"limit":25,"offset":0,"count":4,"links": 的参数
连同实际数据。
我怎样才能只获取实际数据?
例子:
{
"items":[
{
"empid":1,
"ename":"hello"
},
{
"empid":3,
"ename":"hello"
},
{
"empid":2,
"ename":"hello"
},
{
"empid":4,
"ename":"hello"
}
],
"hasMore":false,
"limit":0,
"offset":0,
"count":4,
"links":[
{
"rel":"self",
"href":"http://localhost:8081/ords/vinayak/dem/employees/"
},
{
"rel":"describedby",
"href":"http://localhost:8081/ords/vinayak/metadata-catalog/dem/employees/"
}
]
}
这是我得到的输出。但我想要它作为
{
"items":[
{
"empid":1,
"ename":"hello"
},
{
"empid":3,
"ename":"hello"
},
{
"empid":2,
"ename":"hello"
},
{
"empid":4,
"ename":"hello"
}
]
}
【问题讨论】:
标签: oracle rest oracle-sqldeveloper oracle-ords