Transfering documents resulted of N1QL query

Hi !

I would like to get some documents based on a query and then inject them into another bucket.
I know how to execute query but the result is not formatted to be used with the POST API (they have this fields “_sync”, they got “_rev”, they do not have “_id”, etc).
I also know that their is this tool : cbtransfer. But it does not seems to handle transferring documents resulted from a query.

Their is some solution like setting the “–key” to match every id resulted from the query but I was wondering if their isn’t something cleaner and maybe easier?

Thank’s for your time !

How about