Do we have any way to extract output of a query into a flat file, while working with CohQl, I know we have the way to do that with RDBMS databases. Something like in MySql
SELECT ... FROM ... WHERE ...
INTO OUTFILE 'file.csv'
FIELDS TERMINATED BY ','
I just want it into a flat file, delimiter is not a preference, if I get a solutuion with a delimiter, well and good.
In unix we can do something like this
./query.sh -s -c -l "select * from 'cacheObject'" >>cacheObject.txt
我不知道有内置功能可以做到这一点。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.