How to retrieve data from parse?

Which is grammatically correct, "retrieve the data with ID" or "retrieve the data by ID"?

  • In programming languages, sometimes there are method names like - getElementById()

  • Answer:

    They're both grammatically correct. If you're asking what's more idiomatic or natural to use, my gut tells me "retrieve password by ID," but I'd prefer a third option with "using ID."

John David Ward at Quora Visit the source

Was this solution helpful to you?

Other answers

Grammatically correct sentence will be "retrieve the data by ID". the reason behind this is that if you'll use 'with' then it will mean as if you are trying to retrieve the data along with the ID. But if you are going to use 'by' then it makes sense that you are retrieving the data using the ID.

Shreyanshu Kalra

I think it would be more clear to use "retrieve the data using the ID".

Anonymous

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.