SELECT UN.* FROM target-bucket UNNEST target-bucket as UN
target-bucket
SELECT meta(target-bucket).id as docId, * FROM target-bucket