How to get all column values โ€‹โ€‹of one row in android parse.com

I want to get all the data (i.e. column values) of the first row , which includes "objectId", "ClientName", "Session", myDate ',' createdAT ',' updatedAt 'and' ACL '.

How can I achieve this, thanks for the help.

enter image description here

+4
source share
1 answer

You simply query the table for the first object:

ParseQuery<ParseObject> query = ParseQuery.getQuery("GameScore");
query.whereEqualTo("playerEmail", "dstemkoski@example.com");
query.getFirstInBackground(new GetCallback<ParseObject>() {
  public void done(ParseObject object, ParseException e) {
    if (object == null) {
      Log.d("score", "The getFirst request failed.");
    } else {
      Log.d("score", "Retrieved the object.");
    }
  }
});

, . : https://parse.com/docs/android_guide#queries

+3

All Articles