Hello,
I’m having a very dumb but serious problem. In our project, we use couchbase as a backend to a graphing application. In order for the application to work, it must be fed a pure integer array like [ 1, 2, 3, 5, 6]
.
However in N1QL, when I do a query for my parameter like SELECT num FROM test;
I get an answer like this:
result: [ { num : 1 }, { num : 2 }, { num : 3}]
Is there a way to receive this as [1,2,3]
?