Can I get the query how to retrieve only the data field from the document

How to retrieve only the data field from the document as it is displaying everything in the json .

You can use select. For instance

> Select(["data", "foo"], {data: {bar: {baz: "lorem"}, foo: {ipsum: "neat"}}})
{ ipsum: 'neat' }

I need all the documents data at a time

Yeah, we have this function called select I linked to it in my previous answer and also gave you an example of how to use it. Please read the documentation. If after having read the documentation it’s unclear how to use the function please explain what is unclear to you in the documentation, and please post any FQL that you have written to try and solve your problem. Thanks.

2 Likes