我想在BATCH脚本中获取链接的实体,但它只返回RecordIds。
begin;
let count = select count(*) from Company;
let companies = select from Company ORDER BY name ASC LIMIT 25 FETCHPLAN type:1 portfolios:1;
commit;
return [$count, $companies];
使用OrientDB Server v2.2.17
答案 0 :(得分:0)
试试这个:
begin;
let count = select count(*) from Company;
let companies = select name from Company ORDER BY name ASC LIMIT 25 FETCHPLAN type:1 portfolios:1;
commit;
return [$count, $companies];
希望它有所帮助。
此致
MICHELA