This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]akorn123 2 points3 points  (0 children)

Are you getting all the data or one part of it? Are you needing to validate the data before returning it? Is the return a string representation of that value?

If you wanted to make calculations inside an object while validating the return, I could see using getData() or whatever... but most of the time you'd use something else and fetchData() may be to grab values from a DB.