2016-02-29 61 views

回答

1

你可以做到以下幾點:

SELECT ENCODE_JSON(ARRAY_AGG(d.name)) AS name 
FROM mybucket d 
WHERE d.name IS NOT NULL; 
+0

謝謝,我想過這個問題,我再次問了一個錯誤的問題。你介意幫助我嗎:http://stackoverflow.com/questions/35742657/n1ql-concantenate-many-children-rows-into-single-string – friend