Search code examples
javascriptasynchronousparse-platformparse-cloud-code

Does get() Parse query result do another db call?


When I do .find() or first() on Parse (cloud-code or otherwise) and get a results objects. If I then do .get(fieldName) on the result object does that do another db call and hence needs further asynchronous handling? Or is the data now local? If so, how can I introspect the results object in the console without using .get()

Note I'm using the JavaScript


Solution

  • No, it's local or it doesn't exist (if you specified to only find certain keys and you request a different one) so there is no additional network / database request.