Skip to content Skip to sidebar Skip to footer

Why Is The Default User Database On Parse.com Called "_user"?

This might be a bad question, but I'm just curious as to why Parse would name their default User table as _User. I spent about 3 hours when I first worked with parse trying to figu

Solution 1:

It's a special class with special handling, not to be confused with classes created by the developer which all have the same behavior. The same goes for _Installation too. Yes, it has caused some confusion, which is unfortunate. Usually our documentation carefully specifies it like this rather than using a string name:

JavaScript:

var query = new Parse.Query(Parse.User);

Android:

ParseQuery<ParseUser> query = ParseUser.getQuery();

iOS:

PFQuery *query = [PFUser query];

Post a Comment for "Why Is The Default User Database On Parse.com Called "_user"?"