i'm using Parse.com with the library for PHP and i wanna get all columns for a pointer to Product in my class RepProdMae, my code is below, but i don't know how obtine all columns, thanks for your help.
$pqry = new parseQuery('RepProdMae') ;
$pqry->whereInclude("Product") ;
$pqry->wherePointer('productId','Product', 'lqf4mmpOgS') ;
$pres = $pqry->find() ;
print_r($pres) ;
this print_r return:
stdClass Object
(
[results] => Array
(
[0] => stdClass Object
(
[userId] => stdClass Object
(
[__type] => Pointer
[className] => _User
[objectId] => 3YjQkMwrvf
)
[productId] => stdClass Object
(
[__type] => Pointer
[className] => Product
[objectId] => lqf4mmpOgS
)
[comments] => nothing
[createdAt] => 2014-07-16T01:44:41.549Z
[updatedAt] => 2014-07-16T01:44:41.549Z
[objectId] => 6VzG9K1BTS
)
)
)
And my product class have more colums, my query array is :
Array
(
[where] => {"productId":{"__type":"Pointer","className":"Product","objectId":"lqf4mmpOgS"}}
[include] => Product
[limit] => 100
)