0

我需要将查询结果导出到 csv 以在系统外使用。由于每月需要统计信息,因此我需要编写脚本/cron。

我需要的是这样的:

select a1, a2 from A where CA format csv into a.csv
select l1,l2,l3 from L where CL format csv into l.csv
select p1, p2, p3, p4 from P where CP format csv into p.csv

有没有办法使用 orientdb 脚本来获取它,或者我需要用 java 编写程序?

4

0 回答 0