Sorry, not very skilled at this
Having run a query on collection I understand you create an object which includes all the matched data and various properties from the line
.then(results => {
I understand that you can establish how many “items” your query has returned by using
let resultsCount = results.totalCount;
for instance
And of course I know what is in the object because it is the data from the dataset that matched the query say Forename, Surname, Address etc. but if I wanted to “extract” a value from that object say the Forename of the first record ( [0]? ), how do you basically go about it
i.e. how do you retrieve data from an object?