Greetings, I’ve having to retrieve data from a MongoDB database that will be visualized in a graph. I’m able to fetch the data, but I don’t know how to extract the data from the DS.RecordArray object so that I can have all the data available in an array so it can be passed into a graph.
I believe DS.RecordArray extends ArrayProxy which has a
toArray method so you can just call
<your record array>.toArray()