couchbaselabs / couchbaselabs/n1ql2csv
Error while executing n1ql2csv command
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
I installed the travel-sample bucket and executed the command which is mentioned in readme. But I am getting below error.
n1ql2csv \
--cluster localhost \
--username abc \
--password abc\
--statement "SELECT airportname, city, country, faa, icao, id, type, tz FROM \`travel-sample\` AS airports WHERE type ='airport' ORDER BY airportname ASC" \
--output /tmp/results.csv \
--overwrite true
Error: params should include "fields" and/or non-empty "data" array of objects
I have tested this on Couchbase Enterprose 6.01 and 6.5.1
Kindly provide a solution
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.